Yum: Package Management in Red Hat
Introduction
Yum, which stands for Yellow dog Updater Modified, is a package manager for Linux distributions like Fedora and Red Hat Enterprise Linux, created by Yellow Dog Linux.
It allows you to manage the installation and updating of software installed on a distribution. It's a layer on top of RPM that handles downloads and dependencies, similar to Debian's APT or Mandriva's Urpmi.
Usage
- Installing a package:
- Reinstalling a package:
- Installing a local RPM:
- Removing a package:
- Updating packages or a specific package:
- Getting information about a package:
- Installing a package group:
- Viewing available packages (installed or not):
or
- Viewing available package groups:
- Viewing repositories:
- Finding which package a file belongs to (equivalent of apt-file):
or
- Ignoring missing GPG key:
- Listing all installed packages:
- Forcing the protection of an rpm on a specific redhat version:
- Checking compatibility:
- Downloading packages only
You will need the yum-downloadonly package first to have this option in yum:
Then to download the package:
- Viewing the contents of a package:
or