mpv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mpv: command not found
or when using sudo you get the following error message
sudo: mpv: command not found
Solutions to mpv: command not found
How To Fix mpv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mpv is provided by mpv package.
mpv is:
mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types.
Changes from mplayer2 to mpv include:
- Removal of lots of unneeded code to encourage developer activity
- Better OSD rendering
- Cleaned up terminal output
- Improved OpenGL output
- Encoding functionality (replacement for mencoder)
- Wayland support
- Support for playing URLs of popular streaming sites
- Screenshot improvements
- … See mpv(1) for more info regarding changes between MPlayer, mplayer2 and mpv.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mpv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mpv.
sudo apt -y install mpv
Or if you have aptitude installed you can use the following command.
sudo aptitude install mpv
Summary
In this tutorial we learn how to fix mpv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.