{"id":44179,"date":"2023-07-26T12:02:16","date_gmt":"2023-07-26T12:02:16","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44179"},"modified":"2025-12-24T14:12:13","modified_gmt":"2025-12-24T14:12:13","slug":"install-mpv-0-36-ubuntu-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/07\/install-mpv-0-36-ubuntu-ppa\/","title":{"rendered":"Install MPV (0.41.0 Updated) in Ubuntu 22.04, 24.04 via PPA"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-40459\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/06\/mpv-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>MPV media player has reached version 0.41.0. Here&#8217;s how to install it for those sticking to the classic <code>.deb<\/code> package format.<\/p>\n<p>MPV does not provide official packages for Ubuntu Linux. It&#8217;s however easy to install the latest version via different sources.<\/p>\n<p>Linux Mint 21\/22 can directly search for and install <a href=\"https:\/\/flathub.org\/apps\/io.mpv.Mpv\" target=\"_blank\" rel=\"noopener\">MPV Flatpak<\/a> package from software manager. And, Ubuntu can install the <a href=\"https:\/\/snapcraft.io\/mpv\" target=\"_blank\" rel=\"noopener\">Snap package<\/a> from Ubuntu Software. Though, both of them run in sandbox.<\/p>\n<p>For those sticking to the classic <code>.deb<\/code> package, I&#8217;ve upload MPV 0.41.0 into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/mpv\/\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a>. It supports <b>Ubuntu 22.04<\/b>, <b>Ubuntu 24.04<\/b>, <b>Ubuntu 25.04 and 25.10<\/b> on both <b>x86_64<\/b> and <b>arm64\/armhf<\/b> CPU architecture types.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44180\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi-600x301.webp\" alt=\"\" width=\"600\" height=\"301\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi-600x301.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi-300x151.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi-768x386.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi-1536x772.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi-1320x663.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-version-vaapi.webp 1634w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Install MPV 0.41.0 via Ubuntu PPA<\/h3>\n<p><b>NOTE: Ubuntu 22.04 has FFmpeg 4.4.2, but mpv now requires at least v6.1. So, the PPA package for 22.04 now has FFmpeg (7.0) built in bundle. Please leave comment below if there&#8217;s any issue due to this change.<\/b><\/p>\n<p><b>1. Add the PPA<\/b><\/p>\n<p>Firstly, press <b>Ctrl+Alt+T<\/b> on keyboard to open a terminal window. When it opens, paste the command below and hit run:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/mpv<\/pre>\n<p><i>Type user password (no asterisk feedback) when it asks and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44182\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-ppa-jammy.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2. Update package cache<\/b><\/p>\n<p>Since Ubuntu 20.04, it automatically updates the package cache while adding PPA. Though, Linux Mint user needs to do it manually.<\/p>\n<p>To do so, run command in terminal:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>3. Install MPV 0.41.0<\/b><\/p>\n<p>Finally, install mpv media player v0.41.0 by running command:<\/p>\n<pre>sudo apt install mpv<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44183\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-600x253.webp\" alt=\"\" width=\"600\" height=\"253\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-600x253.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-300x127.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy-768x324.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/apt-mpv-jammy.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>To verify, run <code>mpv --version<\/code> command in terminal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-50282\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/about-mpv041-700x457.webp\" alt=\"\" width=\"610\" height=\"398\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/about-mpv041-700x457.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/about-mpv041-300x196.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/about-mpv041.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h3>Known Issues<\/h3>\n<p>Drag and drop files into mpv app window does not work, due to Wayland. Though, you may right-click on media file to open with mpv.<\/p>\n<p>For hardware video acceleration, first make sure your graphics driver support it, then edit &#8216;<code>\/etc\/mpv\/mpv.conf<\/code>&#8216; file and add <b>hwdec=auto<\/b>. And, enable classic header bar via <code>gpu-context=x11egl<\/code>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44185\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-600x384.webp\" alt=\"\" width=\"600\" height=\"384\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-600x384.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-300x192.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec-768x492.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/07\/mpv-enable-hwdec.webp 895w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>For Ubuntu 22.04<\/b>, system default Wayland version does no longer match MPV minimum requirement. So it&#8217;s built with Wayland feature disabled.<\/p>\n<h3>Uninstall:<\/h3>\n<p>You can choose to purge the PPA repository, which will also downgrade mpv to the stock version in system repository. To do so, open terminal and run command:<\/p>\n<pre>sudo apt install ppa-purge &amp;&amp; sudo ppa-purge ppa:ubuntuhandbook1\/mpv<\/pre>\n<p>Or, remove PPA by running command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/mpv<\/pre>\n<p>To remove the mpv media player, use command:<\/p>\n<pre>sudo apt remove --autoremove mpv<\/pre>","protected":false},"excerpt":{"rendered":"<p>MPV media player has reached version 0.41.0. Here&#8217;s how to install it for those sticking to the classic .deb package format. MPV does not provide official packages for Ubuntu Linux. It&#8217;s however easy to install the latest version via different sources. Linux Mint 21\/22 can directly search for and install MPV Flatpak package from software [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":40459,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1232],"class_list":["post-44179","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-mpv"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=44179"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44179\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/40459"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}