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

In this tutorial we learn how to install ghostscript-devel.x86_64 in Amazon Linux 2. ghostscript-devel.x86_64 is Files for developing applications that use ghostscript

Introduction

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

What is ghostscript-devel.x86_64

The header files for developing applications that use ghostscript.

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

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

sudo yum -y install ghostscript-devel.x86_64

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

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

sudo yum remove ghostscript-devel.x86_64

ghostscript-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/ijs-config
/usr/include/ghostscript
/usr/include/ghostscript/gdevdsp.h
/usr/include/ghostscript/iapi.h
/usr/include/ghostscript/ierrors.h
/usr/include/ijs
/usr/include/ijs/ijs.h
/usr/include/ijs/ijs_client.h
/usr/include/ijs/ijs_server.h
/usr/lib64/libgs.so
/usr/lib64/libijs.so
/usr/lib64/pkgconfig/ijs.pc

References

Summary

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