How To Install apache-commons-daemon.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install apache-commons-daemon.x86_64 on Amazon Linux 2.
What is apache-commons-daemon.x86_64
The scope of this package is to define an API in line with the current Java Platform APIs to support an alternative invocation mechanism which could be used instead of the public static void main(String[]) method. This specification covers the behavior and life cycle of what we define as Java daemons, or, in other words, non interactive Java applications.
We can use yum to install apache-commons-daemon.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install apache-commons-daemon.x86_64.
Install apache-commons-daemon.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install apache-commons-daemon.x86_64 using yum by running the following command:
sudo yum -y install apache-commons-daemon.x86_64
How To Uninstall apache-commons-daemon.x86_64 on Amazon Linux 2
To uninstall only the apache-commons-daemon.x86_64 package we can use the following command:
sudo yum remove apache-commons-daemon.x86_64
apache-commons-daemon.x86_64 Package Contents on Amazon Linux 2
/usr/share/doc/apache-commons-daemon-1.0.13
/usr/share/doc/apache-commons-daemon-1.0.13/LICENSE.txt
/usr/share/doc/apache-commons-daemon-1.0.13/NOTICE.txt
/usr/share/doc/apache-commons-daemon-1.0.13/PROPOSAL.html
/usr/share/doc/apache-commons-daemon-1.0.13/RELEASE-NOTES.txt
/usr/share/doc/apache-commons-daemon-1.0.13/daemon.css
/usr/share/doc/apache-commons-daemon-1.0.13/daemon.html
/usr/share/doc/apache-commons-daemon-1.0.13/samples
/usr/share/doc/apache-commons-daemon-1.0.13/samples/AloneDaemon.sh
/usr/share/doc/apache-commons-daemon-1.0.13/samples/AloneService.java
/usr/share/doc/apache-commons-daemon-1.0.13/samples/Native.c
/usr/share/doc/apache-commons-daemon-1.0.13/samples/Native.sh
/usr/share/doc/apache-commons-daemon-1.0.13/samples/ProcrunService.java
/usr/share/doc/apache-commons-daemon-1.0.13/samples/ProcrunServiceInstall.cmd
/usr/share/doc/apache-commons-daemon-1.0.13/samples/ProcrunServiceRemove.cmd
/usr/share/doc/apache-commons-daemon-1.0.13/samples/README.txt
/usr/share/doc/apache-commons-daemon-1.0.13/samples/ServiceDaemon.java
/usr/share/doc/apache-commons-daemon-1.0.13/samples/ServiceDaemon.sh
/usr/share/doc/apache-commons-daemon-1.0.13/samples/ServiceDaemonReadThread.java
/usr/share/doc/apache-commons-daemon-1.0.13/samples/SimpleApplication.java
/usr/share/doc/apache-commons-daemon-1.0.13/samples/SimpleApplication.sh
/usr/share/doc/apache-commons-daemon-1.0.13/samples/SimpleDaemon.java
/usr/share/doc/apache-commons-daemon-1.0.13/samples/SimpleDaemon.sh
/usr/share/doc/apache-commons-daemon-1.0.13/samples/build.xml
/usr/share/java/apache-commons-daemon.jar
/usr/share/java/commons-daemon.jar
/usr/share/maven-effective-poms/JPP-apache-commons-daemon.pom
/usr/share/maven-effective-poms/JPP-commons-daemon.pom
/usr/share/maven-fragments/apache-commons-daemon.xml
/usr/share/maven-poms/JPP-apache-commons-daemon.pom
/usr/share/maven-poms/JPP-commons-daemon.pom
References
Summary
In this tutorial we learn how to install apache-commons-daemon.x86_64 on Amazon Linux 2 using yum.