Package management
yum
Traditional package manager on CentOS systems (especially CentOS 7).
CentOS
Verified: 2026-02-09
Syntax
$yum [BEFEHL] [OPTIONEN]
Optionen
-y
Bestätigt Aktionen automatisch
--enablerepo=REPO
Aktiviert temporär ein Repository
--disablerepo=REPO
Deaktiviert temporär ein Repository
Examples
$sudo yum install vim
$sudo yum update
$yum search nginx
Typical use cases
?
Standard usage
yum --help
Note
On CentOS 8/Stream, dnf is the standard package manager, while yum remains available as a wrapper.
Export