How To Install rtkit.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rtkit.x86_64 in Amazon Linux 2. rtkit.x86_64 is Realtime Policy and Watchdog Daemon

Introduction

In this tutorial we learn how to install rtkit.x86_64 on Amazon Linux 2.

What is rtkit.x86_64

RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request. It is intended to be used as a secure mechanism to allow real-time scheduling to be used by normal user processes.

We can use yum to install rtkit.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rtkit.x86_64.

Install rtkit.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 rtkit.x86_64 using yum by running the following command:

sudo yum -y install rtkit.x86_64

How To Uninstall rtkit.x86_64 on Amazon Linux 2

To uninstall only the rtkit.x86_64 package we can use the following command:

sudo yum remove rtkit.x86_64

rtkit.x86_64 Package Contents on Amazon Linux 2

/etc/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
/usr/lib/systemd/system/rtkit-daemon.service
/usr/libexec/rtkit-daemon
/usr/sbin/rtkitctl
/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
/usr/share/dbus-1/system-services/org.freedesktop.RealtimeKit1.service
/usr/share/doc/rtkit-0.11
/usr/share/doc/rtkit-0.11/GPL
/usr/share/doc/rtkit-0.11/LICENSE
/usr/share/doc/rtkit-0.11/README
/usr/share/doc/rtkit-0.11/rtkit.c
/usr/share/doc/rtkit-0.11/rtkit.h
/usr/share/man/man8/rtkitctl.8.gz
/usr/share/polkit-1/actions/org.freedesktop.RealtimeKit1.policy

References

Summary

In this tutorial we learn how to install rtkit.x86_64 on Amazon Linux 2 using yum.