YUM package installation

Below are some basics for installations of required packages using YUM (Yellowdog Updater Modified)

These steps are primarily for Oracle Enterprise Linux but will be valid for most Linux systems.

To setup YUM to the correct repository follow the steps here

To find if updates are required use
yum list updates

To list packages installed
yum list installed

to restrict results any of the following will work
yum list installed | grep thePackageNameYouAreLookingFor*
yum list installed | grep httpd*
yum list installed httpd

To update a package
yum update thePackageNameYouWantToUpdate

To search for a package
yum list thePackageName*

To install a package
yum install httpd

To remove a package
yum remove httpd

More information can be found here

Tags: , , ,

Leave a Reply