How To Install capstone-devel on Rocky Linux 8

In this tutorial we learn how to install capstone-devel on Rocky Linux 8. capstone-devel is Development files for capstone

Introduction

In this tutorial we learn how to install capstone-devel on Rocky Linux 8.

What is capstone-devel

Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community. The capstone-devel package contains libraries and header files for developing applications that use capstone.

We can use yum or dnf to install capstone-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install capstone-devel.

Install capstone-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install capstone-devel using dnf by running the following command:

sudo dnf -y install capstone-devel

Install capstone-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install capstone-devel using yum by running the following command:

sudo yum -y install capstone-devel

How To Uninstall capstone-devel on Rocky Linux 8

To uninstall only the capstone-devel package we can use the following command:

sudo dnf remove capstone-devel

capstone-devel Package Contents on Rocky Linux 8

/usr/include/capstone
/usr/include/capstone/arm.h
/usr/include/capstone/arm64.h
/usr/include/capstone/capstone.h
/usr/include/capstone/evm.h
/usr/include/capstone/m680x.h
/usr/include/capstone/m68k.h
/usr/include/capstone/mips.h
/usr/include/capstone/platform.h
/usr/include/capstone/ppc.h
/usr/include/capstone/sparc.h
/usr/include/capstone/systemz.h
/usr/include/capstone/tms320c64x.h
/usr/include/capstone/x86.h
/usr/include/capstone/xcore.h
/usr/lib64/libcapstone.so
/usr/lib64/pkgconfig/capstone.pc

References

Summary

In this tutorial we learn how to install capstone-devel on Rocky Linux 8 using yum and dnf.