Name : mdadm
<==
这个软
件的名
称
Arch : x86_64
<==
这个软
件的
编译
架构
Version : 3.3.2
<==
此
软
件的版本
Release : 2.el7
<==
释
出的版本
Size : 920 k
<==
此
软
件的
文件
总
容量
Repo : installed
<==
软
件
库
回
报说
已安
装
的
From repo : anaconda
Summary : The mdadm program controls Linux md
devices (software RAID arrays)
URL : http://www.kernel.org/pub/linux/utils/raid/mdadm/
License : GPLv2+
Description : The mdadm program is used to create, manage, and monitor Linux MD (software
: RAID) devices. As such, it provide
s similar functionality to the raidtools
: package. However, mdadm is a single program, and it can perform
: almost all functions without a configuration file, though a configuration
: file can be used to help with some common tasks.
#
不要跟我
说
,上面
说
些啥?自己找字典翻一翻吧!拜托拜托!
范例三:列出
yum
服
务
器上面提供的所有
软
件名
称
[root@study ~]#
yum list
Installed Packages
<==
已安
装软
件
GConf2.x86_64 3.2.6
-
8.el7 @anaconda
LibRaw.x86_64 0.14.8
-
5.el7.20120830git98d925 @base
ModemManager.x86_64 1.1.0
-
6.git20130913.el7 @anaconda
....(
中
间
省略
)....
Available Packages
<==
还
可以安
装
的其他
软
件
389
-
ds
-
base.x86_64
1.3.3.1
-
20.el7_1 updates
389
-
ds
-
base
-
devel.x86_64 1.3.3.1
-
20.el7_1 updates
389
-
ds
-
base
-
libs.x86_64 1.3.3.1
-
20.el7_1 updates
....(
底下省略
)....
#
上面提供的意
义为
:『
软
件名
称
版本
在那
个软
件
库内
』
范例四:列出目前服
务
器上可供本机
½
行升
级
的
软
件有哪些?
[root@study ~]#
yum list updates
<==
一定要是
update
s
喔!
Updated Packages
NetworkManager.x86_64 1:1.0.0
-
16.git20150121.b4ea599c.el7_1 updates
NetworkManager
-
adsl.x86_64 1:1.0.0
-
16.git20150121.b4ea599c.el7_1
updates
....(
底下省略
)....
#
上面就列出在那
个软
件
库内
可以提供升
级
的
软
件与版本!
范例五:列出提供
passwd
这个
文件
的
软
件有哪些
[root@study ~]#
yum provides passwd
passwd
-
0.79
-
4.el7.x86_64 : An utility for setting or changing passwords using PAM
Repo : base