close
yum: installation and removal
1. #yum install [package] ----安裝套件, 如果己經安裝, 就不會再安裝
2. #yum groupinstall [packagegroup]
3, #yum remove [package]
4, #yum update [package] ----舊版會被移除, 安裝新的版本
5, #yum list [all | package_glob]
6. #yum info [package]
[root@server1 ~]# yum info evince
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
Name : evince
Arch : i386
Version: 0.6.0
Release: 8.el5
Size : 2.7 M
Repo : installed
Summary: Document viewer
Description:
evince is a GNOME-based document viewer.
7. #yum groupinfo [packagegroup]
[root@server1 ~]# yum groupinfo office
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Group: Office/Productivity
Description: The applications include office suites, PDF viewers, and more.
Default Packages:
evince
Optional Packages:
tetex-xdvi
8. #yum whatprovides [filename]
[root@server1 ~]# yum whatprovides /etc/hosts.allow
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
setup.noarch : A set of system configuration and setup files.
setup.noarch : A set of system configuration and setup files.
9. #youm grouplist
[root@server1 ~]# yum grouplist
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Installed Groups:
Office/Productivity
Administration Tools
Editors
System Tools
Text-based Internet
Virtualization
Legacy Network Server
---略---
1. #yum install [package] ----安裝套件, 如果己經安裝, 就不會再安裝
2. #yum groupinstall [packagegroup]
3, #yum remove [package]
4, #yum update [package] ----舊版會被移除, 安裝新的版本
5, #yum list [all | package_glob]
6. #yum info [package]
[root@server1 ~]# yum info evince
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
Name : evince
Arch : i386
Version: 0.6.0
Release: 8.el5
Size : 2.7 M
Repo : installed
Summary: Document viewer
Description:
evince is a GNOME-based document viewer.
7. #yum groupinfo [packagegroup]
[root@server1 ~]# yum groupinfo office
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Group: Office/Productivity
Description: The applications include office suites, PDF viewers, and more.
Default Packages:
evince
Optional Packages:
tetex-xdvi
8. #yum whatprovides [filename]
[root@server1 ~]# yum whatprovides /etc/hosts.allow
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
setup.noarch : A set of system configuration and setup files.
setup.noarch : A set of system configuration and setup files.
9. #youm grouplist
[root@server1 ~]# yum grouplist
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Installed Groups:
Office/Productivity
Administration Tools
Editors
System Tools
Text-based Internet
Virtualization
Legacy Network Server
---略---
全站熱搜
留言列表