Ways to Uninstall and Install rpm-common on Ubuntu 22.04

Updated: October 14, 2022

The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. In this guide, I will show you ways to install rpm-common Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install rpm-common on Ubuntu 22.04

Install rpm-common Ubuntu 22.04

rpm-common is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install rpm-common using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to get rpm-common on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install rpm-common Ubuntu by executing this command in the terminal.

sudo apt install rpm-common

Install rpm-common using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get -y install aptitude

After installing it, you can now install rpm-common, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install rpm-common Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude install rpm-common

Uninstall rpm-common on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed rpm-common using APT or Aptitude, you could uninstall rpm-common on Ubuntu by following this step:

sudo apt remove --auto-remove rpm-common

To uninstall rpm-common and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge rpm-common

Ending

In this guide, I showed you ways to install rpm-common on Ubuntu 22.04 and ways to uninstall rpm-common too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.