How To Install libarchive.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libarchive.x86_64 on Amazon Linux 2.
What is libarchive.x86_64
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.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libarchive.x86_64.
Install libarchive.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 libarchive.x86_64 using yum by running the following command:
sudo yum -y install libarchive.x86_64
How To Uninstall libarchive.x86_64 on Amazon Linux 2
To uninstall only the libarchive.x86_64 package we can use the following command:
sudo yum remove libarchive.x86_64
libarchive.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libarchive.so.13
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.