Saturday, June 20, 2009

Using yum effectively (Part 1)

Yum (Yellow Dog Updater, Modified) is used by CentOS, RHEL, Fedora an an interface to the underlying rpm system.

Some important usages:

1. To install package
# yum install (package-name)
# yum -y install (package-name)

2. To update package
# yum update (package-name)

Launch the GUI for yum update
# yum install pirut
# pup

3. To use yum to install instead of rpm.
(Yum will search for dependencies and repositories)
# yum localinstall (package-name)

4. Uninstalling Package
# yum remove (package-name)

5. Listing Package
# yum list (package-name)

6. Group Install
# yum groupinstall (group-package-name)

No comments: