Linux Administration/Installation/RPM and YUM Packages
Appearance
(Redirected from Yum)
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:[1]
- 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:
- rpm
- rpm2cpio
- /etc/yum.conf
- /etc/yum.repos.d/
- yum
- yumdownloader
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.[2]
rpm -i package
installs the given package.[3]rpm -U package
upgrades the given package.[4]rpm -F package
freshens (reinstalls) the given package.[5]rpm -e package
erases (removes) the given package.[6]- rpm2cpio extracts RPM payload files without having to install the package.[7]
- 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.[8]
yum install packagelist
installs the given packages.[9]yum update packagelist
updates the given packages.[10]yum remove packagelist
removes the given packages.[11]- yumdownloader is a program for downloading RPMs from Yum repositories.[12]
/etc/yum.conf
is the configuration file used by yum.[13]/etc/yum.repos.d/
is the yum repository directory.[14]
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
- snap
References
[edit | edit source]- ↑ CompTIA: Linux+ Certification Exam Objectives - Exam LX0-103
- ↑ Wikipedia: RPM Package Manager
- ↑ Linux: rpm
- ↑ Linux: rpm
- ↑ Linux: rpm
- ↑ Linux: rpm
- ↑ Wikipedia: RPM Package Manager
- ↑ Wikipedia: yum (software)
- ↑ Linux: yum
- ↑ Linux: yum
- ↑ Linux: yum
- ↑ Linux: yumdownloader
- ↑ Linux: yum.conf
- ↑ Linux: yum.conf