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

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

Introduction

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

What is sudo-devel.x86_64

The sudo-devel package contains header files developing sudo plugins that use sudo.

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

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

sudo yum -y install sudo-devel.x86_64

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

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

sudo yum remove sudo-devel.x86_64

sudo-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/sudo_plugin.h
/usr/share/doc/sudo-devel-1.8.23
/usr/share/doc/sudo-devel-1.8.23/sample_plugin.c
/usr/share/man/man8/sudo_plugin.8.gz

References

Summary

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