How To Install picocli-codegen on Fedora 36
Introduction
In this tutorial we learn how to install picocli-codegen on Fedora 36.
What is picocli-codegen
The picocli-codegen (Picocli Code Generation) module contains tools for generating configuration files and documentation for picocli-based applications. This module also includes an annotation processor that can build a model from the picocli annotations at compile time rather than at runtime. The annotation processor allows many of the tools to be invoked automatically as part of the build without configuration. If a tool does not have an annotation processor wrapper (yet), it can be invoked on the command line, and can be scripted to be invoked automatically as part of building your project.
We can use yum or dnf to install picocli-codegen on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install picocli-codegen.
Install picocli-codegen 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-codegen using dnf by running the following command:
sudo dnf -y install picocli-codegen
Install picocli-codegen 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-codegen using yum by running the following command:
sudo yum -y install picocli-codegen
How To Uninstall picocli-codegen on Fedora 36
To uninstall only the picocli-codegen package we can use the following command:
sudo dnf remove picocli-codegen
picocli-codegen Package Contents on Fedora 36
/usr/share/doc/picocli-codegen
/usr/share/doc/picocli-codegen/README.adoc
/usr/share/java/picocli
/usr/share/java/picocli/picocli-codegen.jar
/usr/share/licenses/picocli-codegen
/usr/share/licenses/picocli-codegen/LICENSE
/usr/share/maven-metadata/picocli-picocli-codegen.xml
/usr/share/maven-poms/picocli
/usr/share/maven-poms/picocli/picocli-codegen.pom
References
Summary
In this tutorial we learn how to install picocli-codegen on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).