How To Install apache-commons-compress.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install apache-commons-compress.noarch on Amazon Linux 2.
What is apache-commons-compress.noarch
The Apache Commons Compress library defines an API for working with ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2 files.
We can use yum to install apache-commons-compress.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install apache-commons-compress.noarch.
Install apache-commons-compress.noarch 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 apache-commons-compress.noarch using yum by running the following command:
sudo yum -y install apache-commons-compress.noarch
How To Uninstall apache-commons-compress.noarch on Amazon Linux 2
To uninstall only the apache-commons-compress.noarch package we can use the following command:
sudo yum remove apache-commons-compress.noarch
apache-commons-compress.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-compress-1.5
/usr/share/doc/apache-commons-compress-1.5/LICENSE.txt
/usr/share/doc/apache-commons-compress-1.5/NOTICE.txt
/usr/share/java/apache-commons-compress.jar
/usr/share/java/commons-compress.jar
/usr/share/maven-effective-poms/JPP-apache-commons-compress.pom
/usr/share/maven-effective-poms/JPP-commons-compress.pom
/usr/share/maven-fragments/apache-commons-compress.xml
/usr/share/maven-poms/JPP-apache-commons-compress.pom
/usr/share/maven-poms/JPP-commons-compress.pom
References
Summary
In this tutorial we learn how to install apache-commons-compress.noarch on Amazon Linux 2 using yum.