How To Install apache-commons-daemon-jsvc.x86_64 on Amazon Linux 2

In this tutorial we learn how to install apache-commons-daemon-jsvc.x86_64 in Amazon Linux 2. apache-commons-daemon-jsvc.x86_64 is Java daemon launcher

Introduction

In this tutorial we learn how to install apache-commons-daemon-jsvc.x86_64 on Amazon Linux 2.

What is apache-commons-daemon-jsvc.x86_64

Java daemon launcher.

We can use yum to install apache-commons-daemon-jsvc.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-jsvc.x86_64.

Install apache-commons-daemon-jsvc.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-jsvc.x86_64 using yum by running the following command:

sudo yum -y install apache-commons-daemon-jsvc.x86_64

How To Uninstall apache-commons-daemon-jsvc.x86_64 on Amazon Linux 2

To uninstall only the apache-commons-daemon-jsvc.x86_64 package we can use the following command:

sudo yum remove apache-commons-daemon-jsvc.x86_64

apache-commons-daemon-jsvc.x86_64 Package Contents on Amazon Linux 2

/usr/bin/jsvc
/usr/share/doc/apache-commons-daemon-jsvc-1.0.13
/usr/share/doc/apache-commons-daemon-jsvc-1.0.13/LICENSE.txt
/usr/share/doc/apache-commons-daemon-jsvc-1.0.13/NOTICE.txt
/usr/share/man/man1/jsvc.1.gz

References

Summary

In this tutorial we learn how to install apache-commons-daemon-jsvc.x86_64 on Amazon Linux 2 using yum.