Ways to Install and Uninstall cephfs-shell on Ubuntu 22.04

Updated: September 5, 2022

Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage. This is an interactive tool that allows accessing a Ceph file system without mounting it by providing a nice pseudo-shell which works like an FTP client. I will show you how to install cephfs-shell on Ubuntu 22.04 in this guide.

Requirements

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install cephfs-shell on Ubuntu 22.04

Install cephfs-shell Ubuntu 22.04

cephfs-shell 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 you believe is simple and easy to follow.

Install cephfs-shell using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install cephfs-shell 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. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install cephfs-shell Ubuntu by executing this command in the terminal.

sudo apt-get -y install cephfs-shell

Install cephfs-shell using Aptitude

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

sudo apt install aptitude

After that, you can now install cephfs-shell by following these steps:

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 fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install cephfs-shell Ubuntu by executing this command in the terminal.

sudo aptitude -y install cephfs-shell

Uninstall cephfs-shell on Ubuntu 22.04

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

If you installed cephfs-shell using APT or Aptitude, you could uninstall cephfs-shell on Ubuntu by executing this command

sudo apt remove --auto-remove cephfs-shell

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

sudo apt autoremove --purge cephfs-shell

Summary

In this guide, I showed you ways to install cephfs-shell on Ubuntu 22.04 and some ways to uninstall cephfs-shell too. Please contact me if you require any assistance. I’d be delighted to respond.