How To Install libdasm on Fedora 34
Introduction
In this tutorial we learn how to install libdasm
on Fedora 34.
What is libdasm
libdasm is a C-library that tries to provide simple and convenient way to disassemble Intel x86 raw op-code bytes (machine code). It can parse and print out op-codes in AT&T and Intel syntax. The op-codes are based on IA-32 Intel Architecture Software Developers Manual Volume 2 year 2004. Non-Intel instructions are not supported at the moment (also, non-Intel but Intel-compatible CPU extensions, like AMD 3DNow! are not supported). libdasm 1.6 11.fc34 x86_64 41 k libdasm-1.6-11.fc34.src.rpm fedora Simple x86 disassembly library https BSD libdasm is a C-library that tries to provide simple and convenient way to disassemble Intel x86 raw op-code bytes (machine code). It can parse and print out op-codes in AT&T and Intel syntax. The op-codes are based on IA-32 Intel Architecture Software Developers Manual Volume 2 year 2004. Non-Intel instructions are not supported at the moment (also, non-Intel but Intel-compatible CPU extensions, like AMD 3DNow! are not supported).
We can use yum
or dnf
to install libdasm
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdasm.
Install libdasm on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libdasm
using dnf
by running the following command:
sudo dnf -y install libdasm
Install libdasm on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libdasm
using yum
by running the following command:
sudo yum -y install libdasm
How To Uninstall libdasm on Fedora 34
To uninstall only the libdasm
package we can use the following command:
sudo dnf remove libdasm
libdasm Package Contents on Fedora 34
/usr/bin/das
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/abfff1e0ca232868b598554f28276f7cdf4276
/usr/lib/.build-id/44
/usr/lib/.build-id/44/13795b6af5374f5cc268447fc4eb67137af2f8
/usr/lib64/libdasm.so.1
/usr/lib64/libdasm.so.1.0
/usr/share/doc/libdasm
/usr/share/doc/libdasm/HISTORY.txt
/usr/share/doc/libdasm/LIB.txt
/usr/share/doc/libdasm/README.txt
/usr/share/doc/libdasm/TODO.txt
/usr/bin/das
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/48b43de9f99f4198cd930c67b9ee25427c97ab
/usr/lib/.build-id/de
/usr/lib/.build-id/de/d0219a34ad69af3ebe8a813c16297325f311d0
/usr/lib/libdasm.so.1
/usr/lib/libdasm.so.1.0
/usr/share/doc/libdasm
/usr/share/doc/libdasm/HISTORY.txt
/usr/share/doc/libdasm/LIB.txt
/usr/share/doc/libdasm/README.txt
/usr/share/doc/libdasm/TODO.txt
References
- [libdasm website](https://github.com/jtpereyda/libdasm https://github.com/jtpereyda/libdasm)
Summary
In this tutorial we learn how to install libdasm
on Fedora 34 using yum and dnf.