How To Install rbd-fuse on Ubuntu 20.04

In this tutorial we learn how to install rbd-fuse on Ubuntu 20.04. rbd-fuse is FUSE-based rbd client for the Ceph distributed file system FUSE-based rbd client for the Ceph distributed file system FUSE-based rbd client for the Ceph distributed file system

Introduction

In this tutorial we learn how to install rbd-fuse on Ubuntu 20.04.

What is rbd-fuse

rbd-fuse is:

Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a FUSE-based client that allows one to map Ceph rbd images as files.

Package: rbd-fuse Architecture: amd64 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: 253 Depends: libc6 (>= 2.28), libfuse2 (>= 2.6), libgcc-s1 (>= 3.0), librados2 (>= 12.0.3), librbd1 (>= 14.2.0), libstdc++6 (>= 9) Recommends: fuse Filename: pool/universe/c/ceph/rbd-fuse_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 69456 MD5sum: 29e117b654db6e9f74620ac463690335 SHA1: cde5d29599689497b29291af9833cd6851dabbe1 SHA256: f3f7d55092ceb64a735cdd02f10effaa2c83d425772ac897b87cbba7c57b8891 SHA512: e807acc1f8b25d3942a4218e6b3a806189382cc13e5cd8eb1e4ee5d2dee12ca44fd8fea9ec569ca11b088e3469ecaafa55761ffbba057fd4f460b066fcd0dec9 Homepage: http://ceph.com/ Description-en: FUSE-based rbd client for the Ceph distributed file system Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a FUSE-based client that allows one to map Ceph rbd images as files.

Package: rbd-fuse Architecture: amd64 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: 260 Depends: libc6 (>= 2.28), libfuse2 (>= 2.6), libgcc-s1 (>= 3.0), librados2 (>= 12.0.3), librbd1 (>= 14.2.0), libstdc++6 (>= 9) Recommends: fuse Filename: pool/universe/c/ceph/rbd-fuse_15.2.1-0ubuntu1_amd64.deb Size: 69372 MD5sum: af33a89f83efe6764df60b4ccfd224a0 SHA1: 6a2d01cf545aeb9e713bd1fe19a5770e2ce2a175 SHA256: 051ca35632b2d316e9d10c19703ae56b8d90002e6fdcf579fad29bc40a30bdb9 Homepage: http://ceph.com/ Description-en: FUSE-based rbd client for the Ceph distributed file system Ceph is a distributed network file system designed to provide excellent performance, reliability, and scalability. This is a FUSE-based client that allows one to map Ceph rbd images as files.

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

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

sudo apt-get update

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

sudo apt-get -y install rbd-fuse

Install rbd-fuse Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rbd-fuse

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

sudo aptitude -y install rbd-fuse

How To Uninstall rbd-fuse on Ubuntu 20.04

To uninstall only the rbd-fuse package we can use the following command:

sudo apt-get remove rbd-fuse

Uninstall rbd-fuse And Its Dependencies

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

sudo apt-get -y autoremove rbd-fuse

Remove rbd-fuse Configurations and Data

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

sudo apt-get -y purge rbd-fuse

Remove rbd-fuse configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rbd-fuse

References

Summary

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