Commands · Command
CommandLinux
yum
yum [command] packageThe package manager for older Red Hat-based distributions (RHEL/CentOS 7 and earlier) — installs, updates, and removes RPM packages along with their dependencies.
// FLAGS
installinstall a packageremoveuninstall a packageupdateupgrade installed packagessearchfind a package by name/keyword// EXAMPLE
yum install httpd — installs the Apache web server package and any dependencies it needs.
// GOTCHA
yum has been replaced by dnf on RHEL/CentOS 8+ (and Fedora even earlier) — on those systems yum is usually just a symlink to dnf for backward compatibility, not the original tool.
// RELATED COMMANDS