Yum

From Exterior Memory
Jump to: navigation, search

RPM

RPM (orginally: Red Hat Package Manager) is a low level package manager distributed by Red Hat and Fedora.

RPM is comparable (and precedes) dpkg on Debian distributions.

Example commands

List installed packages

rpm -qa

List installed files

rpm -ql apache

Get info about a package:

rpm -qi zsh


Yum

Yum is a high-level package manager distributed by Fedora Linux and CentOS.

Example Commands

Search for a package:

yum search apache

Get info about a package:

yum info zsh

Install a package:

yum install zsh

Remove a package

yum remove zsh

Install updates:

yum update zsh
yum update