How To Install libelfin-dev on Debian 9
Introduction
In this tutorial we learn how to install libelfin-dev
on Debian 9.
What is libelfin-dev
libelfin-dev is:
Libelfin is a from-scratch C++11 library for reading ELF binaries and DWARFv4 debug information.
Libelfin implements a syntactic layer for DWARF and ELF, but not a semantic layer. Interpreting the information stored in DWARF DIE trees still requires a great deal of understanding of DWARF, but libelfin will make sense of the bytes for you.
This package contains development libraries and header files for libelfin.
There are three methods to install libelfin-dev
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libelfin-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 libelfin-dev
using apt-get
by running the following command:
sudo apt-get -y install libelfin-dev
Install libelfin-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libelfin-dev
using apt
by running the following command:
sudo apt -y install libelfin-dev
Install libelfin-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 libelfin-dev
using aptitude
by running the following command:
sudo aptitude -y install libelfin-dev
How To Uninstall libelfin-dev on Debian 9
To uninstall only the libelfin-dev
package we can use the following command:
sudo apt-get remove libelfin-dev
Uninstall libelfin-dev And Its Dependencies
To uninstall libelfin-dev
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libelfin-dev
Remove libelfin-dev Configurations and Data
To remove libelfin-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libelfin-dev
Remove libelfin-dev configuration, data, and all of its dependencies
We can use the following command to remove libelfin-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libelfin-dev
Dependencies
libelfin-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libelfin-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.