Linux for Developers Course
Linux for Developers
/
Intermediate

YUM (Yellowdog Updater, Modified)

Definition

The traditional package manager used by older Red Hat-based distributions (like CentOS 7 and RHEL 7). It manages `.rpm` software packages.

Explain Like I'm New

The App Store for older Enterprise servers. It does exactly the same job as `apt`, just on a different brand of Linux.

Real World Example

An administrator logs into a legacy CentOS 7 server and types `sudo yum install httpd` to install the Apache web server.

Common Use Cases

  • •Maintaining legacy RHEL/CentOS systems

Interview Questions

basic

  • Can you use the `yum` command on an Ubuntu server?

intermediate

  • What is an `.rpm` file?

Flash Cards

Question

Use on Ubuntu?

Click to reveal answer
Answer

No. Ubuntu uses Debian architecture (`.deb` packages and `apt`). `yum` only works on Red Hat architecture.

Question

What is an .rpm file?

Click to reveal answer
Answer

Red Hat Package Manager file. It is the compressed installation file (similar to a Windows `.msi`) that `yum` downloads and extracts.