How To Install libdistorm64-1 on Debian 9
Introduction
In this tutorial we learn how to install libdistorm64-1
on Debian 9.
What is libdistorm64-1
libdistorm64-1 is:
Distorm64 is a fast disassembler library for the x86-64 instruction set. Main features are:
- It’s really fast.
- It supports multi-threading.
- It supports AMD64, and all other 80x86 instruction sets.
- It supports up to date instruction sets, such as VMX and SSE4.
- It handles instruction prefixes in a serious manner.
- Unused/extra prefixes are dropped (output as DB’ed).
- Lock prefix works only on lockable instructions if the first operand is in the form of memory indirection.
- REPn/z prefix works only on repeatable string instructions as well as I/O instructions.
- Segment Override prefixes are possible where memory indirection address is being used (and specially treated with string and I/O instructions).
- Some SSE2 instructions support pseudo opcodes (CMP family).
- “Native” instructions, those which have the same mnemonic in different decoding modes, unless there’s an operand size prefix, which then a suffix letter is concatenated to the mnemonic in order to indicate the operation size (instructions like: PUSHA, IRET, etc.).
- XLAT instruction is treated specially when prefixed.
- Drops invalid instructions when their operands are invalid.
- Won’t decode instructions which are longer than 15 bytes.
- CR8 register is now accessible using the Lock prefix in 32 bits decoding mode.
- In 64-bit decoding mode the Segment Override prefixes CS, DS, ES and SS are ignored.
There are three methods to install libdistorm64-1
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 libdistorm64-1 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libdistorm64-1
using apt-get
by running the following command:
sudo apt-get -y install libdistorm64-1
Install libdistorm64-1 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdistorm64-1
using apt
by running the following command:
sudo apt -y install libdistorm64-1
Install libdistorm64-1 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 libdistorm64-1
using aptitude
by running the following command:
sudo aptitude -y install libdistorm64-1
How To Uninstall libdistorm64-1 on Debian 9
To uninstall only the libdistorm64-1
package we can use the following command:
sudo apt-get remove libdistorm64-1
Uninstall libdistorm64-1 And Its Dependencies
To uninstall libdistorm64-1
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdistorm64-1
Remove libdistorm64-1 Configurations and Data
To remove libdistorm64-1
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdistorm64-1
Remove libdistorm64-1 configuration, data, and all of its dependencies
We can use the following command to remove libdistorm64-1
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdistorm64-1
Dependencies
libdistorm64-1 have the following dependencies:
References
Summary
In this tutorial we learn how to install libdistorm64-1
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.