How To Install jansi-native.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install jansi-native.x86_64
on Amazon Linux 2.
What is jansi-native.x86_64
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-native.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jansi-native.x86_64.
Install jansi-native.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 jansi-native.x86_64
using yum
by running the following command:
sudo yum -y install jansi-native.x86_64
How To Uninstall jansi-native.x86_64 on Amazon Linux 2
To uninstall only the jansi-native.x86_64
package we can use the following command:
sudo yum remove jansi-native.x86_64
jansi-native.x86_64 Package Contents on Amazon Linux 2
/usr/lib/java/jansi-native-linux.jar
/usr/lib/java/jansi-native-linux64.jar
/usr/share/doc/jansi-native-1.4
/usr/share/doc/jansi-native-1.4/changelog.md
/usr/share/doc/jansi-native-1.4/license.txt
/usr/share/doc/jansi-native-1.4/readme.md
/usr/share/java/jansi-native.jar
/usr/share/maven-effective-poms/JPP-jansi-native.pom
/usr/share/maven-fragments/jansi-native.xml
/usr/share/maven-poms/JPP-jansi-native.pom
References
Summary
In this tutorial we learn how to install jansi-native.x86_64
on Amazon Linux 2 using yum.