Difference between revisions of "Yum"

From Exterior Memory
Jump to: navigation, search
(Created page with "== 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 distribu...")
 
 
Line 19: Line 19:
 
== Yum ==
 
== Yum ==
  
Yum is a high-level package manager distributed by Fedora Linux.
+
Yum is a high-level package manager distributed by Fedora Linux and CentOS.
  
 
===Example Commands===
 
===Example Commands===

Latest revision as of 15:56, 2 July 2013

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