The MPV Player is a free, open-source, portable media player that supports a wide range of file formats. MPV player is based on Mplayer. MPV media player is written in C, objective-c, and Luna. It was developed on August 7, 2013. MPV is a cross-platform tool that states its support for Linux distros. MPV Media Player can be used to stream any online media by utilizing the URL. You can drag/drop the URLS of the media to play them on MPV Media Player. This guide provides installation steps to get MPV Media Player on Ubuntu 22.04.
How to install MPV Media player on Ubuntu 22.04
Here, we will show you how to install MPV media player on Ubuntu 22.04 via two methods, one is the official repository method and the second is the snap package manager.
Method 1: Install MPV Media Player using the official repository
Repositories are servers that contain sets of packages and metadata files that are readable by only Specific tools Ubuntu’s repositories can be accessed using the apt package manager.
Step 1: Update the system packages
Remember to update the packages on repositories before proceeding to any installation:
$ sudo apt update
Step 2: Install the MPV player
Open the Terminal by pressing the shortcut key “CTRL+Alt+T”, and run the following command into the terminal to install the MPV media player:
$ sudo apt install mpv -y
Step 3: Verify MPV media player installation
The installation of the MPV media player is completed.
Now we will verify the installation by executing the following command in the terminal:
$ sudo mpv --version
The output shows that version ‘0.34.1’ is installed on the system.
Method 2: How to install MPV Media Player on Ubuntu 22.04 using snap
The MPV media player is available on snap as an “mpv-nilsboy”. Snap is an app store, which contains packages that are compatible with almost all Linux distributions.
Execute the following command to install the MPV media player using the snap package manager:
$ sudo snap install mpv-nilsboy
To use the MPV media player just open it by using the following steps.
Open the search bar in applications and type “MPV”:
Click on the MPV application icon appeared in the search results and launch it.
You can drag/drop the URLs of any media file to play on MPV Media Player.
How to remove the MPV media player from Ubuntu 22.04
The MPV media player can be removed by using both of the methods which are the official repository and also the snap package manager.
How to remove MPV player Using apt command
To completely remove the program by using the official repository, execute the following command in the terminal, it will remove all the files related to the MPV media player.
$ sudo apt autoremove mpv -y
The MPV media player is now removed using the official repository.
How to remove MPV player Using snap package manager
The MPV media player can also be removed using the snap package manager. To remove it just execute the following command.
$ sudo snap remove mpv-nilsboy
The MPV media player is removed from your system.
Congratulations! You have learned to install an MPV media player on your Ubuntu 22.04 alongside its removal as well.
MPV media player can be installed by the use of apt package manager and also by using the snap package manager. The apt package manager is responsible for dealing with the packages of Ubuntu’s official repository While the snap package manager deals with snaps. This article acts as a masterpiece to install an MPV media player on Ubuntu 22.04. Moreover, you have also learned to remove/uninstall the MPV media player from Ubuntu 22.04.