Yum Commands

YUM packages updater (Fedora, RedHat and alike)

Download and install a rpm package

yum install package_name

This will install an RPM, and try to resolve all the dependencies for you using your repositories.

yum localinstall package_name.rpm

Update all rpm packages installed on the system

yum update

Upgrade a rpm package

yum update package_name

Remove a rpm package

yum remove package_name

List all packages installed on the system

yum list

Find a package on rpm repository

yum search package_name

Clean up rpm cache erasing downloaded packages

yum clean packages

Remove all files headers that the system uses to resolve dependency

yum clean headers

Remove from the cache packages and headers files

yum clean all

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.