How To Install libdnet on Kali Linux
Introduction
In this tutorial we learn how to install libdnet on Kali Linux.
What is libdnet
libdnet is:
This package contains the libraries necessary for a functioning DECnet system. Most DECnet programs require these libraries to be present on the system. The libraries are: libdnet - the basic DECnet API as featured on Ultrix(R) systems libdnet_daemon - useful calls for writing DECnet daemons libdap - DAP (Data Access Protocol) C++ classes librms - High level library for programmatic access VMS files from Linux.
To do useful work with DECnet you will also need the dnet-common package.
If you’re looking for libdnet, the “dumb” networking library from libdnet.sf.net by Dug Song then you should install libdumbnet instead. Sorry for any confusion caused!
There are three methods to install libdnet on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libdnet Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libdnet using apt-get by running the following command:
sudo apt-get -y install libdnetInstall libdnet Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libdnet using apt by running the following command:
sudo apt -y install libdnetInstall libdnet Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install libdnet using aptitude by running the following command:
sudo aptitude -y install libdnetHow To Uninstall libdnet on Kali Linux
To uninstall only the libdnet package we can use the following command:
sudo apt-get remove libdnetUninstall libdnet And Its Dependencies
To uninstall libdnet and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdnetRemove libdnet Configurations and Data
To remove libdnet configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdnetRemove libdnet configuration, data, and all of its dependencies
We can use the following command to remove libdnet configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdnetDependencies
libdnet have the following dependencies:
References
Summary
In this tutorial we learn how to install libdnet package on Kali Linux using different package management tools: apt, apt-get and aptitude.