How To Install bzip2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install bzip2.x86_64 in Amazon Linux 2. bzip2.x86_64 is A file compression utility

Introduction

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

What is bzip2.x86_64

Bzip2 is a freely available, patent-free, high quality data compressor. Bzip2 compresses files to within 10 to 15 percent of the capabilities of the best techniques available. However, bzip2 has the added benefit of being approximately two times faster at compression and six times faster at decompression than those techniques. Bzip2 is not the fastest compression utility, but it does strike a balance between speed and compression capability. Install bzip2 if you need a compression utility.

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

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

sudo yum -y install bzip2.x86_64

How To Uninstall bzip2.x86_64 on Amazon Linux 2

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

sudo yum remove bzip2.x86_64

bzip2.x86_64 Package Contents on Amazon Linux 2

/usr/bin/bunzip2
/usr/bin/bzcat
/usr/bin/bzcmp
/usr/bin/bzdiff
/usr/bin/bzgrep
/usr/bin/bzip2
/usr/bin/bzip2recover
/usr/bin/bzless
/usr/bin/bzmore
/usr/share/doc/bzip2-1.0.6
/usr/share/doc/bzip2-1.0.6/CHANGES
/usr/share/doc/bzip2-1.0.6/LICENSE
/usr/share/doc/bzip2-1.0.6/README
/usr/share/man/man1/bunzip2.1.gz
/usr/share/man/man1/bzcat.1.gz
/usr/share/man/man1/bzcmp.1.gz
/usr/share/man/man1/bzdiff.1.gz
/usr/share/man/man1/bzgrep.1.gz
/usr/share/man/man1/bzip2.1.gz
/usr/share/man/man1/bzip2recover.1.gz
/usr/share/man/man1/bzless.1.gz
/usr/share/man/man1/bzmore.1.gz

References

Summary

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