How To Install libemu-dev on Debian 10
Introduction
In this tutorial we learn how to install libemu-dev
on Debian 10.
What is libemu-dev
libemu-dev is:
libemu is a small library written in C offering basic x86 emulation and shellcode detection using GetPC heuristics. Intended use is within network intrusion/prevention detections and honeypots.
libemu supports:
- executing x86 instructions
- reading x86 binary code
- register emulation
- basic FPU emulation
- shellcode execution
- shellcode detection
- using GetPC heuristics
- static analysis
- and binary backwards traversal
- Win32 API hooking
- shellcode detection
Using libemu one can:
- detect shellcodes
- execute the shellcodes
- profile shellcode behaviour
This package has the development files.
There are three methods to install libemu-dev
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 libemu-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 libemu-dev
using apt-get
by running the following command:
sudo apt-get -y install libemu-dev
Install libemu-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libemu-dev
using apt
by running the following command:
sudo apt -y install libemu-dev
Install libemu-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 libemu-dev
using aptitude
by running the following command:
sudo aptitude -y install libemu-dev
How To Uninstall libemu-dev on Debian 10
To uninstall only the libemu-dev
package we can use the following command:
sudo apt-get remove libemu-dev
Uninstall libemu-dev And Its Dependencies
To uninstall libemu-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libemu-dev
Remove libemu-dev Configurations and Data
To remove libemu-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libemu-dev
Remove libemu-dev configuration, data, and all of its dependencies
We can use the following command to remove libemu-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libemu-dev
Dependencies
libemu-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libemu-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.