How To Install libntirpc-dev on Debian 12
Introduction
In this tutorial we learn how to install libntirpc-dev on Debian 12.
What is libntirpc-dev
libntirpc-dev 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.
This package provides development files.
There are three methods to install libntirpc-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libntirpc-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libntirpc-dev using apt-get by running the following command:
sudo apt-get -y install libntirpc-dev
Install libntirpc-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libntirpc-dev using apt by running the following command:
sudo apt -y install libntirpc-dev
Install libntirpc-dev 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libntirpc-dev using aptitude by running the following command:
sudo aptitude -y install libntirpc-dev
How To Uninstall libntirpc-dev on Debian 12
To uninstall only the libntirpc-dev package we can use the following command:
sudo apt-get remove libntirpc-dev
Uninstall libntirpc-dev And Its Dependencies
To uninstall libntirpc-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libntirpc-dev
Remove libntirpc-dev Configurations and Data
To remove libntirpc-dev configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libntirpc-dev
Remove libntirpc-dev configuration, data, and all of its dependencies
We can use the following command to remove libntirpc-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libntirpc-dev
Dependencies
libntirpc-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libntirpc-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.