• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[DEPRECATED] YUM package manager

β›” This project is deprecated. Please use DNF, the successor of YUM.

YUM

Yum is an automatic updater and installer for rpm-based systems.

Included programs:

/usr/bin/yum		Main program

Usage

Yum is run with one of the following options:

  • update [package list]

    If run without any packages, Yum will automatically upgrade every currently installed package. If one or more packages are specified, Yum will only update the packages listed.

  • install <package list>

    Yum will install the latest version of the specified package (don't specify version information).

  • remove <package list>

    Yum will remove the specified packages from the system.

  • list [package list]

    List available packages.

See the man page for more information (man yum). Also see:

3.2.X Branch - yum-3_2_X
      Starting commit is roughly: a3c91d7f6a15f31a42d020127b2da2877dfc137d
         E.g. git diff a3c91d7f6a15f31a42d020127b2da2877dfc137d

Building

You can build an RPM package by running:

$ make rpm

Note: Make sure you have mock and lynx installed.

Development

You can run Yum from the current checkout in a container as follows (make sure you have the podman package installed):

$ make shell

This will first build a CentOS 7 image (if not built already) and then run a container with a shell where you can directly execute Yum:

[root@bf03d3a43cbf /] yum

When you edit the code on your host, the changes you make will be immediately reflected inside the container since the checkout is bind-mounted.

Warning: There's a (probably) bug in podman at the moment which makes it not see symlinks in a freshly created container, which, in turn, makes Yum not see the /etc/yum.conf symlink when it runs for the first time. The workaround is to touch /etc/yum.conf or simply re-run Yum.

Note: When you exit the container, it is not deleted but just stopped. To re-attach to it, use (replace the ID appropriately):

$ podman start bf03d3a43cbf
$ podman attach bf03d3a43cbf

More Repositories

1

dnf

Package manager based on libdnf and libsolv. Replaces YUM.
Python
1,226
star
2

rpm

The RPM package manager
C
494
star
3

mock

Mock is a tool for a reproducible build of RPM packages.
Python
381
star
4

tito

A tool for managing rpm based git projects.
Python
378
star
5

dnf5

Next-generation RPM package management system
C++
233
star
6

microdnf

Lightweight implementation of dnf in C
C
216
star
7

libdnf

Package management library.
C++
182
star
8

rpmlint

Tool for checking common errors in rpm packages
Python
128
star
9

dnf-plugins-core

Core DNF Plugins
Python
108
star
10

createrepo_c

C implementation of the createrepo.
C
96
star
11

hawkey

This is hawkey, library providing simplified C and Python API to libsolv. Hawkey project is obsoleted.
C
88
star
12

librepo

A library providing C and Python (libcURL like) API for downloading packages and linux repository metadata in rpm-md format
C
74
star
13

dnf-plugins-extras

repository for DNF community plugins
Python
65
star
14

modulemd-tools

Collection of tools for parsing and generating modulemd YAML files
Python
49
star
15

popt

C library for parsing command line parameters
C
49
star
16

yum-utils

[DEPRECATED] A collection of utilities, plugins and examples related to the YUM package manager
Python
34
star
17

librpm.rs

Rust bindings to the RPM Package Manager libraries (librpm, librpmbuild, librpmsign)
Rust
31
star
18

libcomps

Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3.
C
29
star
19

distribution-gpg-keys

Collection of GPG keys used in Linux Distributions
Python
28
star
20

spec-cleaner

spec-cleaner
Python
28
star
21

createrepo

Python
27
star
22

dnf-plugin-system-upgrade

A DNF plugin for system upgrades (moved to dnf-plugins-extras!)
Python
24
star
23

deltarpm

C
21
star
24

ci-dnf-stack

CI tests for the dnf stack
Gherkin
14
star
25

rpm-sequoia

An OpenPGP backend for rpm using Sequoia PGP
Rust
14
star
26

urlgrabber

Python
14
star
27

drpm

C
10
star
28

rpm-web

RPM web content
Python
10
star
29

fakeuname

Small library that overrides uname() system call to return configured fake kernel release.
C
7
star
30

rpm-gitoverlay

Manage an overlay repository of RPMs from upstream git
Python
7
star
31

fedora-distro-aliases

Aliases for active Fedora releases
Python
5
star
32

maximum-rpm

Maximum RPM
Shell
4
star
33

opensuse-distro-aliases

Aliases for active openSUSE releases
Python
4
star
34

yum-metadata-parser

C
4
star
35

rpm-extras

Shell
3
star
36

python-rpm-packaging

Tools for packaging Python projects with rpm
Python
3
star
37

dnf-URPM

URPM* tool suite implemented on top of DNF
Python
3
star
38

librhsm

C
3
star
39

rpm-metadata

Documentation of the RPM MetaData (rpm-md) format
XSLT
3
star
40

libdnf-l10n

Repository for syncing translations of the libdnf component with weblate.
Python
2
star
41

dnf-plugins-core-l10n

Repository for syncing translations of the dnf-plugins-core component with weblate.
Python
2
star
42

yum-docs

Legacy repository for Yum documentation
2
star
43

libpkgmanifest

Library for working with RPM manifests
C++
2
star
44

perl-rpm-packaging

Tools for packaging Perl projects with rpm
Perl
1
star
45

perl-RPM4

Perl module to access and manipulate RPM files
Perl
1
star
46

rpmconstant

Small library to find constants in rpm headers
C
1
star
47

dnf-l10n

Repository for syncing translations of the dnf component with weblate.
1
star
48

dnf-plugins-extras-l10n

Repository for syncing translations of the dnf-plugins-extras component with weblate.
Python
1
star
49

popt-l10n

Popt translations
CMake
1
star
50

libdnf-plugin-template

Template for libdnf plugin
C
1
star
51

dnf5-l10n

This repo is for synchronization of dnf5 translations with translate.fedoraproject.org
1
star
52

test-repo

A repository for testing DNF Bot and CI. Unfortunately a personal repo is not good enough for that.
1
star
53

mock-test-data

Place to store big binary blobs for the purpose of mock integration testing (shallow clone expected from here)
Python
1
star
54

libparch

Handle architectures for packaging purposes
C
1
star
55

yum-updatesd

yum-updatesd
Python
1
star
56

rpm-l10n

Rpm translations
CMake
1
star
57

org-admin

Adminsitrative requests for the rpm-software-management organization
1
star
58

rpm-software-management.github.io

Blog of the Software Management (DNF, RPM, YUM) teams.
HTML
1
star
59

rpmpgp_legacy

RPM legacy OpenPGP parser
C
1
star
60

R-rpm-macros

Macros and scripts for packaging software in R
R
1
star