How To Install auto-service on Fedora 36

In this tutorial we learn how to install auto-service in Fedora 36. auto-service is Provider-configuration files for ServiceLoader

Introduction

In this tutorial we learn how to install auto-service on Fedora 36.

What is auto-service

A configuration/meta-data generator for java.util.ServiceLoader-style service providers.

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

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

sudo dnf -y install auto-service

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

sudo yum -y install auto-service

How To Uninstall auto-service on Fedora 36

To uninstall only the auto-service package we can use the following command:

sudo dnf remove auto-service

auto-service Package Contents on Fedora 36

/usr/share/doc/auto-service
/usr/share/doc/auto-service/README.md
/usr/share/java/auto
/usr/share/java/auto/auto-service.jar
/usr/share/licenses/auto-service
/usr/share/licenses/auto-service/LICENSE.txt
/usr/share/maven-metadata/auto-auto-service.xml
/usr/share/maven-poms/auto
/usr/share/maven-poms/auto/auto-service.pom

References

Summary

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