{"id":34184,"date":"2021-07-17T17:02:27","date_gmt":"2021-07-17T17:02:27","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=34184"},"modified":"2026-05-08T12:38:53","modified_gmt":"2026-05-08T12:38:53","slug":"install-latest-mesa-ubuntu-20-04-21-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/07\/install-latest-mesa-ubuntu-20-04-21-04\/","title":{"rendered":"How to Install Latest Mesa Graphics Driver in Ubuntu 26.04 | 24.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-34185\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/opengl-icon250.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/opengl-icon250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/opengl-icon250-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>For those sticking to the open-source graphics driver, the latest Mesa 3D graphics library is easy to install via an Ubuntu PPA.<\/p>\n<p>Mesa is an open-source software implementation of OpenGL, Vulkan, VDPAU, VA-API, and other graphics API specifications.<\/p>\n<p>Ubuntu uses Mesa as OpenGL implementation if no proprietary driver is in use. It is however always old. For users want to play some games with the open-source RadeonSI, RADV, Intel, or Nouveau drivers, you may try the latest Mesa via PPA.<\/p>\n<h3>Install Mesa via Ubuntu PPA:<\/h3>\n<p>A trustworthy <a href=\"https:\/\/launchpad.net\/~kisak\/+archive\/ubuntu\/kisak-mesa\" target=\"_blank\" rel=\"noopener\">Ubuntu PPA<\/a> is available that contains the latest stable Mesa packages for Ubuntu 26.04, Ubuntu 24.04 on <code>amd64<\/code>, <code>armhf\/arm64<\/code>, and <code>i386<\/code> CPU platforms.<\/p>\n<p><b>1. Add the PPA:<\/b><\/p>\n<p>Search for and open terminal from system app launcher. When it opens, run command to add the PPA:<\/p>\n<pre>sudo add-apt-repository ppa:kisak\/kisak-mesa<\/pre>\n<p><i>Type user password, no visual feedback, when it asks. Read the PPA description as you want and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51159\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/mesa-ppa2604-700x474.webp\" alt=\"\" width=\"610\" height=\"413\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/mesa-ppa2604-700x474.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/mesa-ppa2604-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/mesa-ppa2604-768x520.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/mesa-ppa2604.webp 796w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>2. Install Mesa packages:<\/b><\/p>\n<p>For, Linux Mint, you need to update package cache though it&#8217;d done automatically in Ubuntu while adding PPA.<\/p>\n<pre>sudo apt update<\/pre>\n<p>Finally install available upgrades of all packages including Mesa library via command:<\/p>\n<pre>sudo apt full-upgrade<\/pre>\n<p><b>3. Check mesa version:<\/b><\/p>\n<p>To find out the package version, use command:<\/p>\n<pre>glxinfo | grep \"OpenGL version\"<\/pre>\n<p>Run <code>sudo apt install mesa-utils<\/code> if <code>glxinfo<\/code> command not found.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51160\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/verify-mesaversion-700x427.webp\" alt=\"\" width=\"610\" height=\"372\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/verify-mesaversion-700x427.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/verify-mesaversion-300x183.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/verify-mesaversion-768x469.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/07\/verify-mesaversion.webp 773w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<h3>Restore Original Mesa packages:<\/h3>\n<p>To restore your graphics driver to the original status, firstly install ppa-purge via command:<\/p>\n<pre>sudo apt install ppa-purge<\/pre>\n<p>Next purge the Ubuntu PPA which will downgrade all the installed packages:<\/p>\n<pre>sudo ppa-purge ppa:kisak\/kisak-mesa<\/pre>\n<p>For Linux Mint 22, it&#8217;s recommended to add <code>-d noble<\/code> flag to work safely:<\/p>\n<pre>sudo ppa-purge -d noble ppa:kisak\/kisak-mesa<\/pre>\n<p>Here \u00a0<code>noble<\/code> is the code-name of Ubuntu 24.04 that Linux Mint 22.x is based on. And, you may run <code>cat \/etc\/os-release<\/code> to tell.<\/p>","protected":false},"excerpt":{"rendered":"<p>For those sticking to the open-source graphics driver, the latest Mesa 3D graphics library is easy to install via an Ubuntu PPA. Mesa is an open-source software implementation of OpenGL, Vulkan, VDPAU, VA-API, and other graphics API specifications. Ubuntu uses Mesa as OpenGL implementation if no proprietary driver is in use. It is however always [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34188,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1447],"class_list":["post-34184","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-mesa-3d-graphics-library"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34184","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=34184"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34184\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34188"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=34184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=34184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=34184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}