How To Install libtar.i686 on Amazon Linux 2

In this tutorial we learn how to install libtar.i686 in Amazon Linux 2. libtar.i686 is Tar file manipulation API

Introduction

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

What is libtar.i686

libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many of the commonly-used GNU extensions.

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

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

sudo yum -y install libtar.i686

How To Uninstall libtar.i686 on Amazon Linux 2

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

sudo yum remove libtar.i686

libtar.i686 Package Contents on Amazon Linux 2

/usr/bin/libtar
/usr/lib/libtar.so.1
/usr/lib/libtar.so.1.2.11
/usr/share/doc/libtar-1.2.11
/usr/share/doc/libtar-1.2.11/COPYRIGHT
/usr/share/doc/libtar-1.2.11/ChangeLog
/usr/share/doc/libtar-1.2.11/ChangeLog-1.0.x
/usr/share/doc/libtar-1.2.11/README
/usr/share/doc/libtar-1.2.11/TODO

References

Summary

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