User Tools

Site Tools


yum_yellowdog_updater_modified

Yellowdog Updater, Modified (yum)

The Yellowdog Updater, Modified (yum) is an open-source command-line package management utility for Linux operating systems using the RPM Package Manager.

Note that for system-level actions, you will need to be logged in as root, or use sudo. Example:

sudo yum install stellarium

Update

Brings the system up-to-date with all required dependencies.

yum update

Search the repositories for a given package:

yum search any-package

Example:

yum search httpd

Info

Get information about a package:

yum info any-package

Example:

yum info httpd

Install

Install a package, with automatic resolution of dependencies:

yum install any-package

Example:

yum install stellarium

You can also use wildcards:

yum install stellarium*

Uninstall

Uninstall a package, along with associated dependencies:

yum remove any-package

Example:

yum remove stellarium

List

List all packages in the yum database:

yum list | less

List all the packages installed in the system:

yum list installed | less

List all the packages installed in the system and that need to be updated:

yum list updates | less

You can search for an individual package:

yum list packagename

You can also see which package provides a given file:

yum provides filename

Clean

Remove heads and packages in the yum cache that are no longer needed:

yum clean all

Group Install

Group install:

yum groupinstall "groupname"

Dont forget the quotation marks for group install.

yum_yellowdog_updater_modified.txt · Last modified: 2018/12/31 18:38 by 127.0.0.1