yum查找软件以及安装方式.
原创tempo_jie 博主文章分类:linux Server ©著作权
©著作权归作者所有:来自51CTO博客作者tempo_jie的原创作品,请联系作者获取转载授权,否则将追究法律责任
系统因为精简安装或者缺少软件安装的解决方法:
配置yum :
使用yum安装gcc ; yum install gcc --nogpgcheck -y
对于缺少的系统组件 要使用yum groupinstall "组件名称" --nogpgcheck -y
使用yum grouplist可以查看可安装的系统组件名称;
Centos精简安装无setup或者crontab :
使用yum 查找;然后安装
------------------------------------------------------------------------------------------------------
[root@topic ~]# yum whatprovides /usr/bin/crontab
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
4:vixie-cron-4.1-81.el5.i386 : The Vixie cron daemon for executing specified programs at set times.
Repo : base
Matched from:
Filename : /usr/bin/crontab
4:vixie-cron-4.1-77.el5_4.1.i386 : The Vixie cron daemon for executing specified programs at set times.
Repo : installed
Matched from:
Other : Provides-match: /usr/bin/crontab
[root@topic ~]# yum install vixie-cron -y
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vixie-cron.i386 4:4.1-81.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Updating:
vixie-cron i386 4:4.1-81.el5 base 81 k
Transaction Summary
======================================================================================================================================
Install 0 Package(s)
Upgrade 1 Package(s)
Total download size: 81 k
Downloading Packages:
vixie-cron-4.1-81.el5.i386.rpm | 81 kB 00:09
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Public key for vixie-cron-4.1-81.el5.i386.rpm is not installedsetup的安装方法是一样的,先用whatprovides查找到安装名称;然后再用yum install 包名 安装即可 !!
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
yum方式安装Redis运维 redis Redis vim
-
yum方式安装mono
yum方式按照mono 正常安装的命令为:
d3 ubuntu .net centos JAVA