How To Install guava-testlib on Fedora 36
Introduction
In this tutorial we learn how to install guava-testlib on Fedora 36.
What is guava-testlib
guava-testlib provides additional functionality for conveninent unit testing
We can use yum or dnf to install guava-testlib on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install guava-testlib.
Install guava-testlib 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 guava-testlib using dnf by running the following command:
sudo dnf -y install guava-testlib
Install guava-testlib 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 guava-testlib using yum by running the following command:
sudo yum -y install guava-testlib
How To Uninstall guava-testlib on Fedora 36
To uninstall only the guava-testlib package we can use the following command:
sudo dnf remove guava-testlib
guava-testlib Package Contents on Fedora 36
/usr/share/java/guava
/usr/share/java/guava/guava-testlib.jar
/usr/share/maven-metadata/guava-guava-testlib.xml
/usr/share/maven-poms/guava
/usr/share/maven-poms/guava/guava-testlib.pom
References
Summary
In this tutorial we learn how to install guava-testlib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).