How To Install initscripts-service on Fedora 36

In this tutorial we learn how to install initscripts-service in Fedora 36. initscripts-service is Support for service command

Introduction

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

What is initscripts-service

This package provides service command.

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

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

sudo dnf -y install initscripts-service

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

sudo yum -y install initscripts-service

How To Uninstall initscripts-service on Fedora 36

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

sudo dnf remove initscripts-service

initscripts-service Package Contents on Fedora 36

/usr/libexec/initscripts
/usr/libexec/initscripts/legacy-actions
/usr/sbin/service
/usr/share/man/man8/service.8.gz

References

Summary

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