Yum Cheat Sheet

Hi Folks,

Had a few “yum howto” hits on my blog according to my search results so thought I would pop up a quick and easy cheat sheet.

package = e.g. proftpd or php or httpd etc etc..

Install package:
yum install package

Update package:
yum update package

Remove package:
yum remove package

yum erase package

Search for a package:
yum search string

Search for a package by file:
yum provides file

Display package information:
yum info package

List installed packages:
yum list installed

Update package list:
yum check-update

Update everything:
yum update

List repositories:
yum repolist

Hope it helps someone.

If anyone would like to see any other commands on here leave a comment and I will update.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: