How To Install picocli-shell-jline2 on Fedora 36
Introduction
In this tutorial we learn how to install picocli-shell-jline2
on Fedora 36.
What is picocli-shell-jline2
Picocli Shell JLine2 contains components and documentation for building interactive shell command line applications with JLine 2 and picocli. JLine and picocli complement each other very well and have little or none functional overlap. JLine provides interactive shell functionality but has no built-in command line parsing functionality. What it does provide is a tokenizer for splitting a single command line String into an array of command line argument Strings. Given an array of Strings, picocli can execute a command or subcommand. Combining these two libraries makes it easy to build powerful interactive shell applications.
We can use yum
or dnf
to install picocli-shell-jline2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install picocli-shell-jline2.
Install picocli-shell-jline2 on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install picocli-shell-jline2
using dnf
by running the following command:
sudo dnf -y install picocli-shell-jline2
Install picocli-shell-jline2 on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install picocli-shell-jline2
using yum
by running the following command:
sudo yum -y install picocli-shell-jline2
How To Uninstall picocli-shell-jline2 on Fedora 36
To uninstall only the picocli-shell-jline2
package we can use the following command:
sudo dnf remove picocli-shell-jline2
picocli-shell-jline2 Package Contents on Fedora 36
/usr/share/doc/picocli-shell-jline2
/usr/share/doc/picocli-shell-jline2/README.md
/usr/share/java/picocli
/usr/share/java/picocli/picocli-shell-jline2.jar
/usr/share/licenses/picocli-shell-jline2
/usr/share/licenses/picocli-shell-jline2/LICENSE
/usr/share/maven-metadata/picocli-picocli-shell-jline2.xml
/usr/share/maven-poms/picocli
/usr/share/maven-poms/picocli/picocli-shell-jline2.pom
References
Summary
In this tutorial we learn how to install picocli-shell-jline2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).