❑ RPM : A utility to manage packages. Since the dependence is weak, the related packages must be installed manually.
Command | Description |
rpm -ivh [Package name] | Install the package. |
rpm -ev [Package name] | Remove the package. |
rpm -Uvh [Package name] | Update the package. |
❑ YUM : A utility to manage packages. Since the dependence is strong, the related packages is installed automatically.
Command | Description |
yum -y install [Package name] | Install the package without asking whether to install or not. |
yum remove [Package name] | Remove the package. |
yum update [Package name] | Update the package. |
yum list | Print all packages list. |
yum list installed | Print installed packages list. |
yum repolist | Check the repositories of yum.
* repository : The place to store information related to the installation of a packages.
|
* /etc/yum.repos.d/[File name].repo : The format of each repository file is as shown above. To input "file://" instead of "http://" is possible.
* How to install RPM with yum : yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm