Linux Administration/Installation/RPM and YUM Packages
Jump to navigation Jump to search
This lesson covers RPM and YUM package managers.
Objectives and Skills[edit | edit source]
Objectives and skills for the RPM and YUM packages portion of Linux+ certification include:
- Use RPM and YUM package management
- Install, re-install, upgrade and remove packages using RPM and YUM
- Obtain information on RPM packages such as version, status, dependencies, integrity and signatures
- Determine what files a package provides, as well as find which package a specific file comes from
- The following is a partial list of the used files, terms and utilities:
Readings[edit | edit source]
Multimedia[edit | edit source]
Activities[edit | edit source]
- Complete the tutorial IBM: Learn Linux, 101: RPM and YUM package management
- Read RPM release notes
Lesson Summary[edit | edit source]
- RPM Package Manager (RPM) (originally Red Hat Package Manager) is a free and open-source package management system using the .rpm file format.
rpm -i packageinstalls the given package.
rpm -U packageupgrades the given package.
rpm -F packagefreshens (reinstalls) the given package.
rpm -e packageerases (removes) the given package.
- rpm2cpio extracts RPM payload files without having to install the package.
- The Yellowdog Updater, Modified (YUM) is a free and open-source command-line package-management utility for computers running the Linux operating system using the RPM Package Manager.
yum install packagelistinstalls the given packages.
yum update packagelistupdates the given packages.
yum remove packagelistremoves the given packages.
- yumdownloader is a program for downloading RPMs from Yum repositories.
/etc/yum.confis the configuration file used by yum.
/etc/yum.repos.d/is the yum repository directory.
Key Terms[edit | edit source]
See also[edit | edit source]
- apt and dpkg
- macOS: brew
- dnf (Dandified YUM)
- podman management tool for pods, containers and images