Ways to Install and Uninstall ceph-common Ubuntu 22.04

Updated: October 14, 2022

Ceph is a distributed storage and file system designed to provide excellent performance, reliability, and scalability. This is a collection of common tools that allow one to interact with and administer a Ceph cluster. In this guide, I will show you how to install ceph-common on Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 is needed for ceph-common to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install ceph-common on Ubuntu 22.04

Install ceph-common Ubuntu 22.04

ceph-common is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install ceph-common using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get ceph-common on your Ubuntu 22.04.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install ceph-common Ubuntu by executing this command in the terminal.

sudo apt-get -y install ceph-common

Install ceph-common using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

Then, you can now install ceph-common by 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. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo aptitude -y install ceph-common

Uninstall ceph-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 ceph-common using APT or Aptitude, you could uninstall ceph-common on Ubuntu by running this command

sudo apt remove --auto-remove ceph-common

If you want to uninstall ceph-common and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge ceph-common

Summary

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