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

In this tutorial we learn how to install libgs-devel.x86_64 in Amazon Linux 2. libgs-devel.x86_64 is Development files for Ghostscript’s library

Introduction

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

What is libgs-devel.x86_64

This package contains development files that are useful for building packages against Ghostscript’s library, which provides Ghostscript’s core functionality.

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

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

sudo yum -y install libgs-devel.x86_64

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

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

sudo yum remove libgs-devel.x86_64

libgs-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/ghostscript
/usr/include/ghostscript/gdevdsp.h
/usr/include/ghostscript/gserrors.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 libgs-devel.x86_64 on Amazon Linux 2 using yum.