How To Install jansi.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install jansi.noarch on Amazon Linux 2.
What is jansi.noarch
Jansi is a small java library that allows you to use ANSI escape sequences in your Java console applications. It implements ANSI support on platforms which don’t support it like Windows and provides graceful degradation for when output is being sent to output devices which cannot support ANSI sequences.
We can use yum to install jansi.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jansi.noarch.
Install jansi.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 jansi.noarch using yum by running the following command:
sudo yum -y install jansi.noarch
How To Uninstall jansi.noarch on Amazon Linux 2
To uninstall only the jansi.noarch package we can use the following command:
sudo yum remove jansi.noarch
jansi.noarch Package Contents on Amazon Linux 2
/usr/share/doc/jansi-1.9
/usr/share/doc/jansi-1.9/changelog.md
/usr/share/doc/jansi-1.9/license.txt
/usr/share/doc/jansi-1.9/readme.md
/usr/share/java/jansi.jar
/usr/share/maven-effective-poms/JPP-jansi.pom
/usr/share/maven-fragments/jansi.xml
/usr/share/maven-poms/JPP-jansi.pom
/usr/share/maven-poms/JPP.jansi-jansi-project.pom
References
Summary
In this tutorial we learn how to install jansi.noarch on Amazon Linux 2 using yum.