How To Install libcidr0 on Debian 10
Introduction
In this tutorial we learn how to install libcidr0
on Debian 10.
What is libcidr0
libcidr0 is:
libcidr is a C library implementing a variety of functions to manipulate IP addresses and netblocks. It handles both IPv4 and IPv6 networks, will transform them to and from text strings in a variety of formats, cram them into and lever them out of in_addr and in6_addr structures, and give you all sorts of stats about them. Functions are provided also to tell you a few things about the network any given CIDR block is in, what its parent and child networks are, and so on. If you’re really nice, may even cook you breakfast.
This package contains the shared runtime library.
There are three methods to install libcidr0
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libcidr0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libcidr0
using apt-get
by running the following command:
sudo apt-get -y install libcidr0
Install libcidr0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libcidr0
using apt
by running the following command:
sudo apt -y install libcidr0
Install libcidr0 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 libcidr0
using aptitude
by running the following command:
sudo aptitude -y install libcidr0
How To Uninstall libcidr0 on Debian 10
To uninstall only the libcidr0
package we can use the following command:
sudo apt-get remove libcidr0
Uninstall libcidr0 And Its Dependencies
To uninstall libcidr0
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libcidr0
Remove libcidr0 Configurations and Data
To remove libcidr0
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libcidr0
Remove libcidr0 configuration, data, and all of its dependencies
We can use the following command to remove libcidr0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcidr0
Dependencies
libcidr0 have the following dependencies:
References
Summary
In this tutorial we learn how to install libcidr0
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.