How To Install ncompress.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ncompress.x86_64 in Amazon Linux 2. ncompress.x86_64 is Fast compression and decompression utilities

Introduction

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

What is ncompress.x86_64

The ncompress package contains the compress and uncompress file compression and decompression utilities, which are compatible with the original UNIX compress utility (.Z file extensions). These utilities can’t handle gzipped (.gz file extensions) files, but gzip can handle compressed files. Install ncompress if you need compression/decompression utilities which are compatible with the original UNIX compress utility.

We can use yum to install ncompress.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ncompress.x86_64.

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

sudo yum -y install ncompress.x86_64

How To Uninstall ncompress.x86_64 on Amazon Linux 2

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

sudo yum remove ncompress.x86_64

ncompress.x86_64 Package Contents on Amazon Linux 2

/usr/bin/compress
/usr/bin/uncompress
/usr/share/doc/ncompress-4.2.4.4
/usr/share/doc/ncompress-4.2.4.4/LZW.INFO
/usr/share/doc/ncompress-4.2.4.4/README
/usr/share/man/man1/compress.1.gz
/usr/share/man/man1/uncompress.1.gz

References

Summary

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