ArticleslgStudy

computer science

Yum (software)

Yum (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Yum (software) rather than just read about it. In short: 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. Though YUM has a command-line interface, several other tools provide graphical user interfaces to YUM functionality.

Yum (software) — main illustration
Yum (software) — illustration

Key takeaways

  • Yum (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Yum (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Yum (software) from memory before moving on to harder problems.

Reference excerpt

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. Though YUM has a command-line interface, several other tools provide graphical user interfaces to YUM functionality. YUM allows for automatic updates and package and dependency management on RPM-based distributions. Like the Advanced Package Tool (APT) from Debian, YUM works with software repositories (collections of packages), which can be accessed locally or over a network connection. Under the hood, YUM depends on RPM, which is a packaging standard for digital distribution of software, which automatically uses hashes and digital signatures to verify the authorship and integrity of said software; unlike some app stores, which serve a similar function, neither YUM nor RPM provide built-in support for proprietary restrictions on copying of packages by end-users. YUM is implemented as libraries in the Python programming language, with a small set of programs that provide a command-line interface. GUI-based wrappers such as YUM Extender (yumex) also exist, and has been adopted for Fedora Linux until version 22. A rewrite of YUM named DNF replaced YUM as the default package manager in Fedora 22 (in 2015). This was required due to Fedora's transition from Python 2 to Python 3, which is not supported by YUM. DNF also improves on YUM in several ways - improved performance, better resolution of dependency conflicts, and easier integration with other software applications. From RHEL 8, yum is an alias for DNF.

History The original package manager, Yellowdog UPdater (YUP) was developed in 1999–2001 by Dan Burcaw, Bryan Stillwell, Stephen Edie, and Troy Bengegerdes at Terra Soft Solutions (under the leadership of then CEO Kai Staats) as a back-end engine for a graphical installer of Yellow Dog Linux. As a full rewrite of YUP, YUM evolved primarily to update and manage Red Hat Linux systems used at the Duke University Department of Physics by Seth Vidal and Michael Stenner. Vidal continued to contribute to YUM until his death in a Durham, North Carolina bicycle accident on 8 July 2013. In 2003 Robert G. Brown at Duke published documentation for YUM. Subsequent adopters included Fedora, Rocky Linux, AlmaLinux, CentOS, and many other RPM-based Linux distributions, including Yellow Dog Linux itself, where YUM replaced the original YUP utility — last updated on SourceForge in 2001. By 2005, it was estimated to be in use on over half of the Linux market, and by 2007 YUM was considered the "tool of choice" for RPM-based Linux distributions. YUM aimed to address both the perceived deficiencies in the old APT-RPM, and restrictions of the Red Hat up2date package management tool. YUM superseded up2date in Red Hat Enterprise Linux 5 and later. Some authors refer to YUM as the Yellowdog Update Manager, or suggest that "Your Update Manager" would be more appropriate. A basic knowledge of YUM is often included as a requirement for Linux system-administrator certification. The GNU General Public License of YUM allows the free and open-source software to be freely distributed and modified without any royalty, if other terms of the license are honored. While yum was originally created for Linux, it has been ported to a number of other operating systems including AIX, IBM i, and ArcaOS.

Transition to DNF By the early 2010s, YUM faced structural architectural challenges. Key limitations included poor performance during metadata processing, high memory consumption, an undocumented Python API, and an inability to resolve complex dependency graphs efficiently without triggering software deadlocks. Furthermore, YUM's codebase was tightly coupled with Python 2, presenting a blocker for Linux distributions migrating toward Python 3 runtime environments. To address these shortcomings, developers created **DNF** (Dandified YUM), a complete rewrite introduced as a fork of YUM 3.4. DNF replaced YUM's custom dependency solver with `libsolv`, a high-performance external SAT solver originally developed by openSUSE, significantly improving resolution speeds and memory management. DNF officially replaced YUM as the default package manager in Fedora 22 (released in May 2015). In Red Hat Enterprise Linux 8 (released in 2019), DNF 4 became the underlying engine, with the yum binary maintained as a symlink to dnf for backward compatibility.

Operations

Transaction management and history Unlike previous-generation package management tools, YUM implements a transaction-tracking system via the yum history command (introduced in version 3.2.x). This mechanism records every modification made to the system state—including installations, updates, removals, and complete system upgrades—in a local database. This architecture allows system administrators to inspect the chronological registry of changes, roll back a problematic transaction (rollback), or replay a sequence of operations (redo) across multiple nodes in a deterministic manner.

Package group abstraction To simplify the deployment of complex environments, YUM introduced the concept of "package groups" (yum group). Instead of individually selecting every software dependency, repository metadata defines coherent sets of software (such as desktop environments like GNOME, or web application stacks like LAMP servers). Inspection commands (group list, group info) and installation commands (group install) allow administrators to manage these meta-packages at the system-wide level.

Cache management and performance To optimize network performance and enable partial offline use, YUM locally stores all downloaded XML/SQLite metadata alongside retrieved RPM files within a caching directory (/var/cache/yum/). The yum clean subcommand allows selective purging of this cache (targeting headers, metadata, or obsolete packages) to resolve dependency inconsistencies or curb disk space consumption.

Extensions

… excerpt ends here. Continue reading the full article.

Illustrations

Yum (software) illustration
Yum (software) illustration
Yum (software): Screenshot of Yum Extender (yumex)
Screenshot of Yum Extender (yumex)

Worked examples

Example 1 — a first encounter with Yum (software)

Start with the simplest possible case. Write down what Yum (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Yum (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Yum (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Yum (software)

In research
Yum (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Yum (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Yum (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Command-line package management systems, Free package management systems, Free software programmed in Python, so understanding it makes those chapters shorter.
In everyday life
Look for Yum (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Yum (software)” →

How to study Yum (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Yum (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Yum (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Yum (software) in simple terms?

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. Though YUM has a command-line interface, several other tools provide graphical user interfaces to YUM functionality.

Why does Yum (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Yum (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Yum (software).

Tags

  • Command-line package management systems
  • Free package management systems
  • Free software programmed in Python
  • Linux package management-related software
  • Software distribution platforms
  • Software using the GNU General Public License

Keep exploring