How To Install apache-commons-exec on Fedora 36
Introduction
In this tutorial we learn how to install apache-commons-exec
on Fedora 36.
What is apache-commons-exec
Commons Exec is a library for dealing with external process execution and environment management in Java.
We can use yum
or dnf
to install apache-commons-exec
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install apache-commons-exec.
Install apache-commons-exec 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 apache-commons-exec
using dnf
by running the following command:
sudo dnf -y install apache-commons-exec
Install apache-commons-exec 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 apache-commons-exec
using yum
by running the following command:
sudo yum -y install apache-commons-exec
How To Uninstall apache-commons-exec on Fedora 36
To uninstall only the apache-commons-exec
package we can use the following command:
sudo dnf remove apache-commons-exec
apache-commons-exec Package Contents on Fedora 36
/usr/share/doc/apache-commons-exec
/usr/share/doc/apache-commons-exec/RELEASE-NOTES.txt
/usr/share/doc/apache-commons-exec/STATUS
/usr/share/java/apache-commons-exec.jar
/usr/share/java/commons-exec.jar
/usr/share/licenses/apache-commons-exec
/usr/share/licenses/apache-commons-exec/LICENSE.txt
/usr/share/licenses/apache-commons-exec/NOTICE.txt
/usr/share/maven-metadata/apache-commons-exec.xml
/usr/share/maven-poms/apache-commons-exec.pom
/usr/share/maven-poms/commons-exec.pom
References
Summary
In this tutorial we learn how to install apache-commons-exec
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).