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

In this tutorial we learn how to install expat-devel.x86_64 in Amazon Linux 2. expat-devel.x86_64 is Libraries and header files to develop applications using expat

Introduction

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

What is expat-devel.x86_64

The expat-devel package contains the libraries, include files and documentation to develop XML applications with expat.

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

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

sudo yum -y install expat-devel.x86_64

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

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

sudo yum remove expat-devel.x86_64

expat-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/expat.h
/usr/include/expat_external.h
/usr/lib64/libexpat.so
/usr/lib64/pkgconfig/expat.pc
/usr/share/doc/expat-devel-2.1.0
/usr/share/doc/expat-devel-2.1.0/Changes
/usr/share/doc/expat-devel-2.1.0/doc
/usr/share/doc/expat-devel-2.1.0/doc/expat.png
/usr/share/doc/expat-devel-2.1.0/doc/reference.html
/usr/share/doc/expat-devel-2.1.0/doc/style.css
/usr/share/doc/expat-devel-2.1.0/doc/valid-xhtml10.png
/usr/share/doc/expat-devel-2.1.0/doc/xmlwf.1
/usr/share/doc/expat-devel-2.1.0/doc/xmlwf.sgml
/usr/share/doc/expat-devel-2.1.0/examples
/usr/share/doc/expat-devel-2.1.0/examples/elements.c
/usr/share/doc/expat-devel-2.1.0/examples/outline.c

References

Summary

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