How To Install gamemode on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install gamemode on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gamemode.

Install gamemode on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove gamemode

References

Summary

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