retroarch command not found

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

Introduction

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

retroarch: command not found

or when using sudo you get the following error message

sudo: retroarch: command not found

Solutions to retroarch: command not found

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

In Ubuntu retroarch is provided by retroarch package.

retroarch is:

RetroArch is an open source, multi-platform frontend for the libretro API. It can be used as a modular multi emulator system, game engine, media player and 3D technical demonstration. These features are available through libretro cores.

It provides three built-in GUI: RGUI, XMB and GLUI.

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

sudo apt-get -y install retroarch

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

You can also use apt command to install retroarch.

sudo apt -y install retroarch

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

sudo aptitude install retroarch

Summary

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