How To Install libcephfs-jni on Ubuntu 20.04

In this tutorial we learn how to install libcephfs-jni on Ubuntu 20.04. libcephfs-jni is Java Native Interface library for CephFS Java bindings Java Native Interface library for CephFS Java bindings Java Native Interface library for CephFS Java bindings

Introduction

In this tutorial we learn how to install libcephfs-jni on Ubuntu 20.04.

What is libcephfs-jni

libcephfs-jni is:

Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.

This package contains the Java Native Interface library for interacting with the Ceph File System.

Package: libcephfs-jni Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: universe/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: 223 Depends: libcephfs2 (= 15.2.12-0ubuntu0.20.04.1), libc6 (>= 2.17), libgcc-s1 (>= 3.0), librados2 (>= 12.0.3), libstdc++6 (>= 5.2) Filename: pool/universe/c/ceph/libcephfs-jni_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 50076 MD5sum: b5c0a28ef3a6094d7182650b47b6bd50 SHA1: 5e56d664c1bb3babefe98f87a03d07b9aaffffc7 SHA256: c8a1e72227cfe5630c9ca480df09b19601f4d5d58f1e323db190f5b568c4f824 SHA512: f60847c8adfaade39cf40a983a8422d8a572cd50fb54fd347a0661c70c8fac2d532080175b10d72336c7674e0c96050be18e35e7eeb48381bd9358095ba1a331 Homepage: http://ceph.com/ Description-en: Java Native Interface library for CephFS Java bindings Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.

This package contains the Java Native Interface library for interacting with the Ceph File System.

Package: libcephfs-jni Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: universe/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: 226 Depends: libcephfs2 (= 15.2.1-0ubuntu1), libc6 (>= 2.17), libgcc-s1 (>= 3.0), librados2 (>= 12.0.3), libstdc++6 (>= 5.2) Filename: pool/universe/c/ceph/libcephfs-jni_15.2.1-0ubuntu1_amd64.deb Size: 50804 MD5sum: 4f0f23b253f10fecd605424ba87ba973 SHA1: d82d0f4148ad80744e0859fe9780415c4b1642d8 SHA256: aee92ae9a3d5fcebd5f06f7d166d21075eaf05414fd203dbe6a2b06fba56be12 Homepage: http://ceph.com/ Description-en: Java Native Interface library for CephFS Java bindings Ceph is a distributed storage system designed to provide excellent performance, reliability, and scalability.

This package contains the Java Native Interface library for interacting with the Ceph File System.

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

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

sudo apt-get update

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

sudo apt-get -y install libcephfs-jni

Install libcephfs-jni Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcephfs-jni

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

sudo aptitude -y install libcephfs-jni

How To Uninstall libcephfs-jni on Ubuntu 20.04

To uninstall only the libcephfs-jni package we can use the following command:

sudo apt-get remove libcephfs-jni

Uninstall libcephfs-jni And Its Dependencies

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

sudo apt-get -y autoremove libcephfs-jni

Remove libcephfs-jni Configurations and Data

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

sudo apt-get -y purge libcephfs-jni

Remove libcephfs-jni configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcephfs-jni

References

Summary

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