How To Install Yum In Debian, Ubuntu, Kali, CentOS, Fedora And Raspbian?

How To Install Yum In Debian, Ubuntu, Kali, CentOS, Fedora And Raspbian?

yum

Package management utility for RHEL, Feodra, and CentOS (for older versions).

Maintainer: Thomas Goirand



Section: admin

Install yum

  • Debian apt-get install yum Click to copy
  • Ubuntu apt-get install yum Click to copy
  • Kali Linux apt-get install yum Click to copy
  • CentOS yum install yum Click to copy
  • Fedora dnf install yum Click to copy
  • Raspbian apt-get install yum Click to copy

Package management utility for RHEL, Feodra, and CentOS (for older versions).

How to use yum?

Below are few example commands for yum that you can use in the terminal.

Synchronize list of packages and versions available. This should be run first, before running subsequent yum commands:
yum updateClick to copy
Install a new package:
yum install packageClick to copy
Install a new package and assume yes to all questions (also works with update, great for automated updates):
yum -y install packageClick to copy
Find the package that provides a particular command:
yum provides commandClick to copy
Remove a package:
yum remove packageClick to copy
Upgrade installed packages to newest available versions:
yum upgradeClick to copy
Installation of latest yum command is available for Debian, Ubuntu, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.