Friday, November 15, 2013

How to use yum?

How to use yum?

Displays a list of packages that need to be updated:
# yum check-update

Install these updates:
# yum update

List all available packages:
# yum list available
# yum list available "package-name"

List all installed packages:
# yum list installed

Install the specified RPM or packages via RHN:
# yum install package-name
# yum install httpd

Remove the specified RPM(s) and it's dependents:
# yum remove package-name
# yum remove httpd

No comments:

Post a Comment

  DAILY CHECKLIST Oracle Database instance is running or not select name,open_mode from V$database; Note: Check the Oracle databases are ru...