How To Install apache-commons-codec.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install apache-commons-codec.noarch on Amazon Linux 2.
What is apache-commons-codec.noarch
Commons Codec is an attempt to provide definitive implementations of commonly used encoders and decoders. Examples include Base64, Hex, Phonetic and URLs.
We can use yum to install apache-commons-codec.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-codec.noarch.
Install apache-commons-codec.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-codec.noarch using yum by running the following command:
sudo yum -y install apache-commons-codec.noarch
How To Uninstall apache-commons-codec.noarch on Amazon Linux 2
To uninstall only the apache-commons-codec.noarch package we can use the following command:
sudo yum remove apache-commons-codec.noarch
apache-commons-codec.noarch Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-codec-1.8
/usr/share/doc/apache-commons-codec-1.8/LICENSE.txt
/usr/share/doc/apache-commons-codec-1.8/NOTICE.txt
/usr/share/doc/apache-commons-codec-1.8/RELEASE-NOTES.txt
/usr/share/doc/apache-commons-codec-1.8/aspell-mail.txt
/usr/share/java/apache-commons-codec.jar
/usr/share/java/commons-codec.jar
/usr/share/maven-effective-poms/JPP-apache-commons-codec.pom
/usr/share/maven-effective-poms/JPP-commons-codec.pom
/usr/share/maven-fragments/apache-commons-codec.xml
/usr/share/maven-poms/JPP-apache-commons-codec.pom
/usr/share/maven-poms/JPP-commons-codec.pom
References
Summary
In this tutorial we learn how to install apache-commons-codec.noarch on Amazon Linux 2 using yum.