How To Install libntirpc1.6 on Ubuntu 18.04

In this tutorial we learn how to install libntirpc1.6 on Ubuntu 18.04. libntirpc1.6 is new transport-independent RPC library

Introduction

In this tutorial we learn how to install libntirpc1.6 on Ubuntu 18.04.

What is libntirpc1.6

libntirpc1.6 is:

Port of Sun’s transport-independent RPC library to Linux. The library is intended as a replacement for the RPC code in the GNU C library, providing among others support for RPC (and in turn, NFS) over IPv6.

Changes introduced in the ntirpc library include:

  • Bi-directional operation.
  • Full-duplex operation on the TCP (vc) transport.
  • Thread-safe operating modes:
    • new locking primitives and lock callouts (interface change).
    • stateless send/recv on the TCP transport (interface change).
  • Flexible server integration support.
  • Event channels.

There are three methods to install libntirpc1.6 on Ubuntu 18.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 libntirpc1.6 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libntirpc1.6

Install libntirpc1.6 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libntirpc1.6 using apt by running the following command:

sudo apt -y install libntirpc1.6

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

sudo aptitude -y install libntirpc1.6

How To Uninstall libntirpc1.6 on Ubuntu 18.04

To uninstall only the libntirpc1.6 package we can use the following command:

sudo apt-get remove libntirpc1.6

Uninstall libntirpc1.6 And Its Dependencies

To uninstall libntirpc1.6 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libntirpc1.6

Remove libntirpc1.6 Configurations and Data

To remove libntirpc1.6 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libntirpc1.6

Remove libntirpc1.6 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libntirpc1.6

References

Summary

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