gmplayer command not found

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

Introduction

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

gmplayer: command not found

or when using sudo you get the following error message

sudo: gmplayer: command not found

Solutions to gmplayer: command not found

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

In Ubuntu gmplayer is provided by mplayer-gui package.

mplayer-gui is:

MPlayer plays most MPEG, VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files, supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. It can also play VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies.

Another big feature of MPlayer is the wide range of supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, but also SDL.

This package includes the GUI variant of MPlayer.

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

sudo apt-get -y install mplayer-gui

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

You can also use apt command to install mplayer-gui.

sudo apt -y install mplayer-gui

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

sudo aptitude install mplayer-gui

Summary

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