How To Install snakeyaml.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install snakeyaml.noarch
on Amazon Linux 2.
What is snakeyaml.noarch
SnakeYAML features * a complete YAML 1.1 parser. In particular, SnakeYAML can parse all examples from the specification. * Unicode support including UTF-8/UTF-16 input/output. * high-level API for serializing and deserializing native Java objects. * support for all types from the YAML types repository. * relatively sensible error messages.
We can use yum
to install snakeyaml.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install snakeyaml.noarch.
Install snakeyaml.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 snakeyaml.noarch
using yum
by running the following command:
sudo yum -y install snakeyaml.noarch
How To Uninstall snakeyaml.noarch on Amazon Linux 2
To uninstall only the snakeyaml.noarch
package we can use the following command:
sudo yum remove snakeyaml.noarch
snakeyaml.noarch Package Contents on Amazon Linux 2
/usr/share/doc/snakeyaml-1.11
/usr/share/doc/snakeyaml-1.11/LICENSE.txt
/usr/share/java/snakeyaml.jar
/usr/share/maven-effective-poms/JPP-snakeyaml.pom
/usr/share/maven-fragments/snakeyaml.xml
/usr/share/maven-poms/JPP-snakeyaml.pom
References
Summary
In this tutorial we learn how to install snakeyaml.noarch
on Amazon Linux 2 using yum.