How To Install lirc-disable-kernel-rc on Rocky Linux 8

In this tutorial we learn how to install lirc-disable-kernel-rc on Rocky Linux 8. lirc-disable-kernel-rc is Disable kernel ir device handling in favor of lirc

Introduction

In this tutorial we learn how to install lirc-disable-kernel-rc on Rocky Linux 8.

What is lirc-disable-kernel-rc

Part of the LIRC package suite which handles IR remotes. See the package lirc for more. This package contains an udev rule which disables the kernel built-in handling of infrared devices (i. e., rc* ones) by making lirc the only used protocol.

We can use yum or dnf to install lirc-disable-kernel-rc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lirc-disable-kernel-rc.

Install lirc-disable-kernel-rc on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lirc-disable-kernel-rc using dnf by running the following command:

sudo dnf -y install lirc-disable-kernel-rc

Install lirc-disable-kernel-rc on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lirc-disable-kernel-rc using yum by running the following command:

sudo yum -y install lirc-disable-kernel-rc

How To Uninstall lirc-disable-kernel-rc on Rocky Linux 8

To uninstall only the lirc-disable-kernel-rc package we can use the following command:

sudo dnf remove lirc-disable-kernel-rc

lirc-disable-kernel-rc Package Contents on Rocky Linux 8

/usr/lib/udev/rules.d/99-remote-control-lirc.rules

References

Summary

In this tutorial we learn how to install lirc-disable-kernel-rc on Rocky Linux 8 using yum and dnf.