Package Managers

Install package:
rpm -i
Remove package:
rpm -e
Upgrade package:
rpm -U
rpm -q
rpm -qi

Install package:
yum install
Remove package:
yum remove
Upgrade package:
yum update
e.g. yum update 'vi*'
Upgrade entire system:
yum update
List package(s)*:
yum list
yum list
Package info*:
yum info

Repository directory:
Yum configuration file:

To refresh available repos:
$ yum repolist

Clean local yum cache database:
yum clean all

Build cache for enabled repos:
yum makecache

* you can use wildcards


Leave a Reply

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

You are commenting using your 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