How To Install cephfs-shell on Ubuntu 20.04

In this tutorial we learn how to install cephfs-shell on Ubuntu 20.04. cephfs-shell is interactive shell for the Ceph distributed file system interactive shell for the Ceph distributed file system interactive shell for the Ceph distributed file system

Introduction

In this tutorial we learn how to install cephfs-shell on Ubuntu 20.04.

What is cephfs-shell

cephfs-shell is:

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.

This package contains a CLI for interacting with the CephFS.

Package: cephfs-shell Architecture: all Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: universe/admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 144 Depends: python3-cephfs, python3-cmd2, python3-colorama, python3:any Filename: pool/universe/c/ceph/cephfs-shell_15.2.12-0ubuntu0.20.04.1_all.deb Size: 25116 MD5sum: f1006ba60f31820caba6875236753eac SHA1: ef9ab487c556e9d5e0c3ac513a4a89e8cdebb25f SHA256: d38b4a7fdd6b2a931831213138f14d36213da338837cf08d7fb4a8a93497c6b9 SHA512: 5c2a50bb0ea9cc6f348180fec366f49141ed60e53cf3c36a595564acc3a584a4be3940a0b7ecd36e4cf977f5a86dc4672480e6cbc75b824b858f885d32d338c2 Homepage: http://ceph.com/ Description-en: interactive shell for the Ceph distributed file system 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.

This package contains a CLI for interacting with the CephFS.

Package: cephfs-shell Architecture: all Version: 15.2.1-0ubuntu1 Priority: optional Section: universe/admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 142 Depends: python3-cephfs, python3-cmd2, python3-colorama, python3:any Filename: pool/universe/c/ceph/cephfs-shell_15.2.1-0ubuntu1_all.deb Size: 25120 MD5sum: bc54f90671fb63d65cfd62e7cb6ccc63 SHA1: a0b0ffff1e9332948767a69469ae81f92146d9a9 SHA256: 47199fced2e7d2f0fe08a7b52cb151450f4d172abd7b0f5a6cac8fa20cb4475c Homepage: http://ceph.com/ Description-en: interactive shell for the Ceph distributed file system 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.

This package contains a CLI for interacting with the CephFS.

There are three methods to install cephfs-shell on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cephfs-shell Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cephfs-shell using apt-get by running the following command:

sudo apt-get -y install cephfs-shell

Install cephfs-shell Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cephfs-shell using apt by running the following command:

sudo apt -y install cephfs-shell

Install cephfs-shell Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cephfs-shell using aptitude by running the following command:

sudo aptitude -y install cephfs-shell

How To Uninstall cephfs-shell on Ubuntu 20.04

To uninstall only the cephfs-shell package we can use the following command:

sudo apt-get remove cephfs-shell

Uninstall cephfs-shell And Its Dependencies

To uninstall cephfs-shell and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove cephfs-shell

Remove cephfs-shell Configurations and Data

To remove cephfs-shell configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge cephfs-shell

Remove cephfs-shell configuration, data, and all of its dependencies

We can use the following command to remove cephfs-shell configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cephfs-shell

References

Summary

In this tutorial we learn how to install cephfs-shell package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.