Red Hat Enterprise Linux 5 and its derivative CentOS 5 includes an extensive list of applications that can be easily added or removed. This guide will show you how to do it using the Package Manager tool.
Install Package (GUI)
This section describes how to use the Package Manager to install a package.
Install Package (Console)The yum command is used to install a package from the console. You need to have root level access to use the commands below.
- yum install package1 [package2]
installs the specified package(s)
- yum update package1 [package2]
updates the specified package(s)
- yum remove package1 [package2]
removes the specified package(s)
- yum info package1 [package2]
shows the information for the specified package(s)
- yum search string1 [string2]
finds all packages wherein the name, description or summary matches the specified string(s)
- yum localinstall rpmfile1 [rpmfile2]
installs the specified rpm file(s)
- yum localupdate rpmfile1 [rpmfile2]
updates the rpm file(s)
- yum update
updates all packages
- yum list installed
shows all the installed packages
- yum list updates
shows all the packages that has updates available
Visit the forum to ask for help or to give a comment.