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

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

Introduction

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

What is libspectre-devel.x86_64

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

We can use yum to install libspectre-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 libspectre-devel.x86_64.

Install libspectre-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 libspectre-devel.x86_64 using yum by running the following command:

sudo yum -y install libspectre-devel.x86_64

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

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

sudo yum remove libspectre-devel.x86_64

libspectre-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libspectre
/usr/include/libspectre/spectre-document.h
/usr/include/libspectre/spectre-exporter.h
/usr/include/libspectre/spectre-macros.h
/usr/include/libspectre/spectre-page.h
/usr/include/libspectre/spectre-render-context.h
/usr/include/libspectre/spectre-status.h
/usr/include/libspectre/spectre-version.h
/usr/include/libspectre/spectre.h
/usr/lib64/libspectre.so
/usr/lib64/pkgconfig/libspectre.pc

References

Summary

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