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

In this tutorial we learn how to install bzip2-devel.x86_64 in Amazon Linux 2. bzip2-devel.x86_64 is Libraries and header files for apps which will use bzip2

Introduction

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

What is bzip2-devel.x86_64

Header files and a library of bzip2 functions, for developing apps which will use the library.

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

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

sudo yum -y install bzip2-devel.x86_64

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

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

sudo yum remove bzip2-devel.x86_64

bzip2-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/bzlib.h
/usr/lib64/libbz2.so
/usr/share/doc/bzip2-devel-1.0.6
/usr/share/doc/bzip2-devel-1.0.6/manual.html
/usr/share/doc/bzip2-devel-1.0.6/manual.pdf

References

Summary

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