How To Install snappy.i686 on Amazon Linux 2

In this tutorial we learn how to install snappy.i686 in Amazon Linux 2. snappy.i686 is Fast compression and decompression library

Introduction

In this tutorial we learn how to install snappy.i686 on Amazon Linux 2.

What is snappy.i686

Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger.

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

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

sudo yum -y install snappy.i686

How To Uninstall snappy.i686 on Amazon Linux 2

To uninstall only the snappy.i686 package we can use the following command:

sudo yum remove snappy.i686

snappy.i686 Package Contents on Amazon Linux 2

/usr/lib/libsnappy.so.1
/usr/lib/libsnappy.so.1.1.4
/usr/share/doc/snappy-1.1.0
/usr/share/doc/snappy-1.1.0/AUTHORS
/usr/share/doc/snappy-1.1.0/COPYING
/usr/share/doc/snappy-1.1.0/ChangeLog
/usr/share/doc/snappy-1.1.0/NEWS
/usr/share/doc/snappy-1.1.0/README

References

Summary

In this tutorial we learn how to install snappy.i686 on Amazon Linux 2 using yum.