How To Install capstone-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install capstone-devel.x86_64 in Amazon Linux 2. capstone-devel.x86_64 is Development files for capstone

Introduction

In this tutorial we learn how to install capstone-devel.x86_64 on Amazon Linux 2.

What is capstone-devel.x86_64

The capstone-devel package contains libraries and header files for developing applications that use capstone.

We can use yum to install capstone-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install capstone-devel.x86_64.

Install capstone-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install capstone-devel.x86_64

How To Uninstall capstone-devel.x86_64 on Amazon Linux 2

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

sudo yum remove capstone-devel.x86_64

capstone-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/capstone
/usr/include/capstone/arm.h
/usr/include/capstone/arm64.h
/usr/include/capstone/capstone.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/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.x86_64 on Amazon Linux 2 using yum.