How To Install libcephfs2 on Ubuntu 20.04

In this tutorial we learn how to install libcephfs2 on Ubuntu 20.04. libcephfs2 is Ceph distributed file system client library Ceph distributed file system client library Ceph distributed file system client library

Introduction

In this tutorial we learn how to install libcephfs2 on Ubuntu 20.04.

What is libcephfs2

libcephfs2 is:

Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a shared library allowing applications to access a Ceph distributed file system via a POSIX-like interface. Task: samba-server

Package: libcephfs2 Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: libs 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: 1484 Depends: libc6 (>= 2.17), libgcc-s1 (>= 3.0), librados2 (>= 12.0.3), libstdc++6 (>= 9) Conflicts: libceph, libceph1, libcephfs Replaces: libceph, libceph1, libcephfs Filename: pool/main/c/ceph/libcephfs2_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 469520 MD5sum: 115c43252f6232e37ba1d303686cd76e SHA1: a8022d65a1b009452daf2f8f167a25a40f85a959 SHA256: 6c84dc1b5199ba70a38a83bf67fae74f2203e2c65d4bd8475b59c26dce2cd231 SHA512: 8adc65e24d14f5c158c9f3724d44dd6a45bae9fd9f41221fee181e030149ae00ecb4270690a3b3ac5a21e90a23d7ffe85afdaa5ab9d0be8440e3862a3d27a54b Homepage: http://ceph.com/ Description-en: Ceph distributed file system client library Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a shared library allowing applications to access a Ceph distributed file system via a POSIX-like interface. Task: samba-server

Package: libcephfs2 Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: libs 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: 1491 Depends: libc6 (>= 2.17), libgcc-s1 (>= 3.0), librados2 (>= 12.0.3), libstdc++6 (>= 9) Conflicts: libceph, libceph1, libcephfs Replaces: libceph, libceph1, libcephfs Filename: pool/main/c/ceph/libcephfs2_15.2.1-0ubuntu1_amd64.deb Size: 471024 MD5sum: 35a1056e147d6bd97f70e1e6a5628e56 SHA1: dcbbb59ff4ad7718f85cfd2cbe302a80dc4364c8 SHA256: 9267d065e81f1dbad318c05c3d8effa4d727a91cd3400c89f87a50ec8ea1c515 Homepage: http://ceph.com/ Description-en: Ceph distributed file system client library Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a shared library allowing applications to access a Ceph distributed file system via a POSIX-like interface. Task: samba-server

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

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

sudo apt-get update

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

sudo apt-get -y install libcephfs2

Install libcephfs2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcephfs2 using apt by running the following command:

sudo apt -y install libcephfs2

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

sudo aptitude -y install libcephfs2

How To Uninstall libcephfs2 on Ubuntu 20.04

To uninstall only the libcephfs2 package we can use the following command:

sudo apt-get remove libcephfs2

Uninstall libcephfs2 And Its Dependencies

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

sudo apt-get -y autoremove libcephfs2

Remove libcephfs2 Configurations and Data

To remove libcephfs2 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libcephfs2

Remove libcephfs2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcephfs2

References

Summary

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