How To Install capstone on Fedora 34
Introduction
In this tutorial we learn how to install capstone
on Fedora 34.
What is capstone
Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community. capstone 4.0.2 4.fc34 x86_64 764 k capstone-4.0.2-4.fc34.src.rpm fedora A lightweight multi-platform, multi-architecture disassembly framework http BSD Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community.
We can use yum
or dnf
to install capstone
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install capstone.
Install capstone 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 capstone
using dnf
by running the following command:
sudo dnf -y install capstone
Install capstone 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 capstone
using yum
by running the following command:
sudo yum -y install capstone
How To Uninstall capstone on Fedora 34
To uninstall only the capstone
package we can use the following command:
sudo dnf remove capstone
capstone Package Contents on Fedora 34
/usr/bin/cstool
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/003a7575393fe62c28639136d6750a91f1a5c5
/usr/lib/.build-id/97
/usr/lib/.build-id/97/d2199aa4069964ffff109152b7cb7b1b4cb8c6
/usr/lib64/libcapstone.so.4
/usr/share/doc/capstone
/usr/share/doc/capstone/CREDITS.TXT
/usr/share/doc/capstone/ChangeLog
/usr/share/doc/capstone/README.md
/usr/share/doc/capstone/SPONSORS.TXT
/usr/share/licenses/capstone
/usr/share/licenses/capstone/LICENSE.TXT
/usr/share/licenses/capstone/LICENSE_LLVM.TXT
/usr/bin/cstool
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/3e2aadfc3619ba724bbd815fa3c9a255b5f5f7
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/4c23b0b8c96c68408081aec8a6ea1cbfba76f1
/usr/lib/libcapstone.so.4
/usr/share/doc/capstone
/usr/share/doc/capstone/CREDITS.TXT
/usr/share/doc/capstone/ChangeLog
/usr/share/doc/capstone/README.md
/usr/share/doc/capstone/SPONSORS.TXT
/usr/share/licenses/capstone
/usr/share/licenses/capstone/LICENSE.TXT
/usr/share/licenses/capstone/LICENSE_LLVM.TXT
References
- [capstone website](http://www.capstone-engine.org/ http://www.capstone-engine.org/)
Summary
In this tutorial we learn how to install capstone
on Fedora 34 using yum and dnf.