How To Install giflib.i686 on Amazon Linux 2

In this tutorial we learn how to install giflib.i686 in Amazon Linux 2. giflib.i686 is Library for manipulating GIF format image files

Introduction

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

What is giflib.i686

The giflib package contains a shared library of functions for loading and saving GIF format image files. It is API and ABI compatible with libungif, the library which supported uncompressed GIFs while the Unisys LZW patent was in effect.

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

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

sudo yum -y install giflib.i686

How To Uninstall giflib.i686 on Amazon Linux 2

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

sudo yum remove giflib.i686

giflib.i686 Package Contents on Amazon Linux 2

/usr/lib/libgif.so.4
/usr/lib/libgif.so.4.1.6
/usr/lib/libungif.so.4
/usr/lib/libungif.so.4.1.6
/usr/share/doc/giflib-4.1.6
/usr/share/doc/giflib-4.1.6/AUTHORS
/usr/share/doc/giflib-4.1.6/COPYING
/usr/share/doc/giflib-4.1.6/ChangeLog
/usr/share/doc/giflib-4.1.6/NEWS
/usr/share/doc/giflib-4.1.6/README

References

Summary

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