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

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

Introduction

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

What is gdm-devel.x86_64

The gdm-devel package contains headers and other files needed to build custom greeters.

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

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

sudo yum -y install gdm-devel.x86_64

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

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

sudo yum remove gdm-devel.x86_64

gdm-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/gdm
/usr/include/gdm/gdm-client-glue.h
/usr/include/gdm/gdm-client.h
/usr/include/gdm/gdm-sessions.h
/usr/include/gdm/gdm-user-switching.h
/usr/lib64/pkgconfig/gdm.pc
/usr/share/gir-1.0
/usr/share/gir-1.0/Gdm-1.0.gir

References

Summary

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