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

  How to Change Instance Type & Security Group of EC2 in AWS By David Taylor Updated April 29, 2023 EC2 stands for Elastic Compute Cloud...