How To Install guice-throwingproviders on Fedora 36

In this tutorial we learn how to install guice-throwingproviders in Fedora 36. guice-throwingproviders is ThrowingProviders extension module for Guice

Introduction

In this tutorial we learn how to install guice-throwingproviders on Fedora 36.

What is guice-throwingproviders

Guice is a lightweight dependency injection framework for Java 5 and above. This package provides ThrowingProviders module for Guice.

We can use yum or dnf to install guice-throwingproviders on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install guice-throwingproviders.

Install guice-throwingproviders 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 guice-throwingproviders using dnf by running the following command:

sudo dnf -y install guice-throwingproviders

Install guice-throwingproviders 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 guice-throwingproviders using yum by running the following command:

sudo yum -y install guice-throwingproviders

How To Uninstall guice-throwingproviders on Fedora 36

To uninstall only the guice-throwingproviders package we can use the following command:

sudo dnf remove guice-throwingproviders

guice-throwingproviders Package Contents on Fedora 36

/usr/share/java/guice
/usr/share/java/guice/guice-throwingproviders.jar
/usr/share/maven-metadata/google-guice-guice-throwingproviders.xml
/usr/share/maven-poms/guice
/usr/share/maven-poms/guice/guice-throwingproviders.pom

References

Summary

In this tutorial we learn how to install guice-throwingproviders on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).