How To Install python3-cephfs on Ubuntu 20.04

In this tutorial we learn how to install python3-cephfs on Ubuntu 20.04. python3-cephfs is Python 3 libraries for the Ceph libcephfs library Python 3 libraries for the Ceph libcephfs library Python 3 libraries for the Ceph libcephfs library

Introduction

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

What is python3-cephfs

python3-cephfs 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 package contains Python 3 libraries for interacting with Ceph’s CephFS file system client library.

Package: python3-cephfs Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: python 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: 570 Depends: libcephfs2 (= 15.2.12-0ubuntu0.20.04.1), python3-ceph-argparse (= 15.2.12-0ubuntu0.20.04.1), python3-rados (= 15.2.12-0ubuntu0.20.04.1), python3 (« 3.9), python3 (>= 3.8~), python3:any, libc6 (>= 2.4) Filename: pool/main/c/ceph/python3-cephfs_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 163976 MD5sum: 12adf03449667d63fd67b293d3897f35 SHA1: 4d9d44d367fc41046170031c3fef03e0c9c6a5d1 SHA256: f9390c2e36150916c010fe6c029df8b6fe3f0e039f9d1b00b343a31ef8e9dcee SHA512: 81a2dea53c566d01d946f6587c1ffb61316629c50be531dff8bc8a6ea9753c84f122c8f1a9f0f3fc89b646147695483993dcb5b4ab89904f454f5e2b423a1e0e Homepage: http://ceph.com/ Description-en: Python 3 libraries for the Ceph libcephfs library Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains Python 3 libraries for interacting with Ceph’s CephFS file system client library.

Package: python3-cephfs Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: python 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: 562 Depends: libcephfs2 (= 15.2.1-0ubuntu1), python3-ceph-argparse (= 15.2.1-0ubuntu1), python3-rados (= 15.2.1-0ubuntu1), python3 (« 3.9), python3 (>= 3.8~), python3:any, libc6 (>= 2.4) Filename: pool/main/c/ceph/python3-cephfs_15.2.1-0ubuntu1_amd64.deb Size: 162792 MD5sum: 3f6f1c738020966d5f9492bc5e4a667f SHA1: a292949545c7f059e3c5c88b3b8c467bd571343e SHA256: 6d2bd05faf8a9596d50f81781e0fc01f5bf629f2ac7b8bb7ce34653f30c305a3 Homepage: http://ceph.com/ Description-en: Python 3 libraries for the Ceph libcephfs library Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains Python 3 libraries for interacting with Ceph’s CephFS file system client library.

There are three methods to install python3-cephfs 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 python3-cephfs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python3-cephfs

Install python3-cephfs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-cephfs

Install python3-cephfs 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 python3-cephfs using aptitude by running the following command:

sudo aptitude -y install python3-cephfs

How To Uninstall python3-cephfs on Ubuntu 20.04

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

sudo apt-get remove python3-cephfs

Uninstall python3-cephfs And Its Dependencies

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

sudo apt-get -y autoremove python3-cephfs

Remove python3-cephfs Configurations and Data

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

sudo apt-get -y purge python3-cephfs

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

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

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

References

Summary

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