Linux Shell 命令
一. yum
1. yum list installed
a. yum list installed > installed_software
b. yum list installed | less
c. rpm -qa |less
d. rpm -qail | less
2. yum list package_name
a. rpm -qil package_name
b. yum list installed package_name
c. yum list info tigervnc*
3. yum
4. tree
Example: yum list installed tigervnc*
[root@opentv /]# yum list installed tigervnc*
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
Found 2 installed debuginfo package(s)
Enabling fedora-debuginfo: Fedora 12 - i386 - Debug
Reading repository metadata in from local files
Enabling updates-debuginfo: Fedora 12 - i386 - Updates - Debug
Reading repository metadata in from local files
Installed Packages
tigervnc-server.i686
1.0.1-3.fc12
@updates
[root@opentv /]# yum list tigervnc*
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
Found 2 installed debuginfo package(s)
Enabling fedora-debuginfo: Fedora 12 - i386 - Debug
Reading repository metadata in from local files
Enabling updates-debuginfo: Fedora 12 - i386 - Updates - Debug
Reading repository metadata in from local files
Installed Packages
tigervnc-server.i686
1.0.1-3.fc12
@updates
Available Packages
tigervnc.i686
1.0.1-3.fc12
updates
tigervnc-debuginfo.i686
1.0.1-3.fc12
updates-debuginfo
tigervnc-server-module.i686
1.0.1-3.fc12
updates
[root@opentv /]#
[root@opentv /]# yum list info tigervnc*
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit
Found 2 installed debuginfo package(s)
Enabling fedora-debuginfo: Fedora 12 - i386 - Debug
Reading repository metadata in from local files
Enabling updates-debuginfo: Fedora 12 - i386 - Updates - Debug
Reading repository metadata in from local files
Installed Packages
info.i686
4.13a-7.fc12
@anaconda-InstallationRepo-200911081854.i386
tigervnc-server.i686
1.0.1-3.fc12
@updates
Available Packages
info.i686
4.13a-9.fc12
updates
tigervnc.i686
1.0.1-3.fc12
updates
tigervnc-debuginfo.i686
1.0.1-3.fc12
updates-debuginfo
tigervnc-server-module.i686
1.0.1-3.fc12
updates
[root@opentv /]#

浙公网安备 33010602011771号