How To Install gamemode on Rocky Linux 8

In this tutorial we learn how to install gamemode on Rocky Linux 8. gamemode is Optimize system performance for games on demand

Introduction

In this tutorial we learn how to install gamemode on Rocky Linux 8.

What is gamemode

GameMode is a daemon/lib combo for GNU/Linux that allows games to request a set of optimizations be temporarily applied to the host OS. GameMode was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU “powersave” or “ondemand” governors, but is now host to a range of optimisation features and configurations, like tweaking various settings kernel scheduler, the GPU performance mode and gpu overclocking (NVIDIA). It can also excute custom scripts when launching games.

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

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

sudo dnf -y install gamemode

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

sudo yum -y install gamemode

How To Uninstall gamemode on Rocky Linux 8

To uninstall only the gamemode package we can use the following command:

sudo dnf remove gamemode

gamemode Package Contents on Rocky Linux 8

/usr/bin/gamemoded
/usr/bin/gamemoderun
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/6548d92cab4f5c8e7d8a6584991be156368962
/usr/lib/.build-id/28
/usr/lib/.build-id/28/ca68b55451056153199c4eabf72cb9cdcf4bdb
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/38ae95c17ae0a07f2d905b85ef57d4f6dd9cd7
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/4b1a0102aacc1755f9d9eadf4292a5f7c8ea61
/usr/lib/.build-id/c3/e6bbb2a2578e162756d322f1bd4901ad9df52d
/usr/lib/systemd/user/gamemoded.service
/usr/lib64/libgamemode.so
/usr/lib64/libgamemode.so.0
/usr/lib64/libgamemode.so.0.0.0
/usr/lib64/libgamemodeauto.so
/usr/lib64/libgamemodeauto.so.0
/usr/lib64/libgamemodeauto.so.0.0.0
/usr/libexec/cpugovctl
/usr/libexec/gpuclockctl
/usr/share/dbus-1/services/com.feralinteractive.GameMode.service
/usr/share/doc/gamemode
/usr/share/doc/gamemode/README.md
/usr/share/licenses/gamemode
/usr/share/licenses/gamemode/LICENSE.txt
/usr/share/man/man8/gamemoded.8.gz
/usr/share/polkit-1/actions/com.feralinteractive.GameMode.policy

References

Summary

In this tutorial we learn how to install gamemode on Rocky Linux 8 using yum and dnf.