How To Install libarchive.i686 on Amazon Linux 2

In this tutorial we learn how to install libarchive.i686 in Amazon Linux 2. libarchive.i686 is A library for handling streaming archive formats

Introduction

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

What is libarchive.i686

Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants, several cpio formats, and both BSD and GNU ar variants. It can also write shar archives and read ISO9660 CDROM images and ZIP archives.

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

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

sudo yum -y install libarchive.i686

How To Uninstall libarchive.i686 on Amazon Linux 2

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

sudo yum remove libarchive.i686

libarchive.i686 Package Contents on Amazon Linux 2

/usr/lib/libarchive.so.13
/usr/lib/libarchive.so.13.1.2
/usr/share/doc/libarchive-3.1.2
/usr/share/doc/libarchive-3.1.2/COPYING
/usr/share/doc/libarchive-3.1.2/NEWS
/usr/share/doc/libarchive-3.1.2/README
/usr/share/man/man5/cpio.5.gz
/usr/share/man/man5/mtree.5.gz
/usr/share/man/man5/tar.5.gz

References

Summary

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