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

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

Introduction

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

What is rpm-devel.x86_64

This package contains the RPM C library and header files. These development files will simplify the process of writing programs that manipulate RPM packages and databases. These files are intended to simplify the process of creating graphical package managers or any other tools that need an intimate knowledge of RPM packages in order to function. This package should be installed if you want to develop programs that will manipulate RPM packages and databases.

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

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

sudo yum -y install rpm-devel.x86_64

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

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

sudo yum remove rpm-devel.x86_64

rpm-devel.x86_64 Package Contents on Amazon Linux 2

/usr/bin/rpmgraph
/usr/include/rpm
/usr/include/rpm/argv.h
/usr/include/rpm/header.h
/usr/include/rpm/rpmbase64.h
/usr/include/rpm/rpmbuild.h
/usr/include/rpm/rpmcallback.h
/usr/include/rpm/rpmcli.h
/usr/include/rpm/rpmdb.h
/usr/include/rpm/rpmds.h
/usr/include/rpm/rpmfc.h
/usr/include/rpm/rpmfi.h
/usr/include/rpm/rpmfileutil.h
/usr/include/rpm/rpmio.h
/usr/include/rpm/rpmkeyring.h
/usr/include/rpm/rpmlegacy.h
/usr/include/rpm/rpmlib.h
/usr/include/rpm/rpmlog.h
/usr/include/rpm/rpmmacro.h
/usr/include/rpm/rpmpgp.h
/usr/include/rpm/rpmpol.h
/usr/include/rpm/rpmprob.h
/usr/include/rpm/rpmps.h
/usr/include/rpm/rpmsign.h
/usr/include/rpm/rpmspec.h
/usr/include/rpm/rpmsq.h
/usr/include/rpm/rpmstring.h
/usr/include/rpm/rpmstrpool.h
/usr/include/rpm/rpmsw.h
/usr/include/rpm/rpmtag.h
/usr/include/rpm/rpmtd.h
/usr/include/rpm/rpmte.h
/usr/include/rpm/rpmts.h
/usr/include/rpm/rpmtypes.h
/usr/include/rpm/rpmurl.h
/usr/include/rpm/rpmutil.h
/usr/include/rpm/rpmvf.h
/usr/lib64/librpm.so
/usr/lib64/librpmbuild.so
/usr/lib64/librpmio.so
/usr/lib64/librpmsign.so
/usr/lib64/pkgconfig/rpm.pc
/usr/share/man/man8/rpmgraph.8.gz

References

Summary

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