gamemoded command not found

In this troubleshooting guide we learn how to fix gamemoded command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gamemoded: command not found

or when using sudo you get the following error message

sudo: gamemoded: command not found

Solutions to gamemoded: command not found

How To Fix gamemoded: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gamemoded is provided by gamemode-daemon package.

gamemode-daemon is:

GameMode is a daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS.

The design has a clear-cut abstraction between the host daemon and library (gamemoded and libgamemode), and the client loaders (libgamemodeauto and gamemode_client.h) that allows for safe use without worrying about whether the daemon is installed or running. This design also means that while the host library currently relies on systemd for exchanging messages with the daemon, it’s entirely possible to implement other internals that still work with the same clients.

GameMode was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU powersave or ondemand governors, but is intended to be expanded beyond just CPU governor states, as there are a wealth of automation tasks one might want to apply.

This package provides the daemon and helper files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gamemode-daemon

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gamemode-daemon.

sudo apt -y install gamemode-daemon

Or if you have aptitude installed you can use the following command.

sudo aptitude install gamemode-daemon

Summary

In this tutorial we learn how to fix gamemoded command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.