{"id":51506,"date":"2026-07-06T11:23:58","date_gmt":"2026-07-06T11:23:58","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=51506"},"modified":"2026-07-06T11:23:58","modified_gmt":"2026-07-06T11:23:58","slug":"install-nvidia-470-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/07\/install-nvidia-470-ubuntu\/","title":{"rendered":"How to Install Legacy NVIDIA 470 Driver in Ubuntu 26.04, 24.04, 22.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-38385\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/nvidia-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p><b>Ubuntu finally retried the legacy NVIDIA driver 470 for all current Ubuntu releases! Here&#8217;s how to manually install it back for those who run Ubuntu on GeForce GT 710\/730\/780 etc Kepler GPUs (GeForce 700, 600, TITAN, and Tesla series).<\/b><\/p>\n<p>Ubuntu announced the <a href=\"https:\/\/discourse.ubuntu.com\/t\/action-required-ubuntu-to-retire-legacy-nvidia-graphics-drivers-470\/77725\" target=\"_blank\" rel=\"noopener\">end of life of NVIDIA 470 driver<\/a> support a few months ago. For Ubuntu 26.04, the legacy driver package is excluded in system repository. While, Ubuntu 24.04 and 22.04 have migrated the package to NVIDIA 535.<\/p>\n<p><!--more--><\/p>\n<div id=\"attachment_51507\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia470-eof.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-51507\" class=\"size-large wp-image-51507\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia470-eof-700x435.webp\" alt=\"\" width=\"610\" height=\"379\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia470-eof-700x435.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia470-eof-300x186.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia470-eof-768x477.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia470-eof.webp 1340w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-51507\" class=\"wp-caption-text\">The legacy nvidia 470 driver package in launchpad build farm<\/p><\/div>\n<p>In this tutorial, I&#8217;m going to show you how to install NVIDIA 470 driver in two ways:<\/p>\n<ul>\n<li>Option 1: Downgrade to the previous build of Ubuntu-provided 470 driver.<\/li>\n<li>Option 2: Install NVIDIA-provided driver with community patches.<\/li>\n<\/ul>\n<h3>Downsides<\/h3>\n<p>The legacy 470 driver <b>needs to patch<\/b> for being able to build on 6.14 and newer Linux Kernels (see this <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/nvidia-graphics-drivers-470-server\/+bug\/2110338\" target=\"_blank\" rel=\"noopener\">bug report<\/a>). That&#8217;s possibly why Ubuntu decided to discontinue this driver support.<\/p>\n<p>For Ubuntu 22.04 with default Kernel 6.8, it&#8217;s totally OK to downgrade to the previous build that will install the real 470 driver, but there&#8217;ll be no future updates for security fixes.<\/p>\n<p>Ubuntu 24.04 may also downgrade the driver package, but it also requires to downgrade the kernel to be earlier than 6.14 due to missing patches.<\/p>\n<p>For newer Kernels (6.14 and later), there&#8217;s a community maintain project that contains the patches to make NVIDIA-provided 470 driver build on Debian\/Ubuntu based distributions, though it&#8217;s unofficial!<\/p>\n<h3>Option 1: Downgrade to the previous build of Ubuntu-provided 470 driver.<\/h3>\n<p>As mentioned, the latest build of NVIDIA 470 driver in Ubuntu 24.04 and 22.04 repository acts as a wrapper that will automatically download and install NVIDIA 535 driver. Thankfully, the previous build is still available and you can choose to downgrade to that build.<\/p>\n<p><b>1. Uninstall NVIDIA 535<\/b><\/p>\n<p>If you have already installed the latest nvidia 470 package update, then you have the 535 driver auto-installed on your system.<\/p>\n<p>To uninstall it, press <code>Ctrl+Alt+T<\/code> to open terminal, and run command:<\/p>\n<pre>sudo apt --purge remove '*nvidia*470*' '*nvidia*535*'<\/pre>\n<p>For choice, you may replace number 470 in command to uninstall other driver series, e.g., 580, 595. When done, restart computer to apply change.<\/p>\n<p><b>2. Downgrade Kernel (for Ubuntu 24.04 only)<\/b><\/p>\n<p>For Ubuntu 24.04, run command in terminal (Ctrl+Alt+T) to install the original 6.8 Kernel:<\/p>\n<pre>sudo apt install linux-image-generic linux-headers-generic<\/pre>\n<p>or replace <code>linux-image-generic<\/code> with <code>linux-image-6.11.0-29-generic<\/code> to install the 6.11 Kernel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51508\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-611noble-700x528.webp\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-611noble-700x528.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-611noble-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-611noble.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>After that, restart computer and choose the 6.8 or 6.11 kernel (depends on which you installed) from &#8220;<i>Advanced Options for Ubuntu<\/i>&#8221; sub-menu in Grub boot-loader.<\/p>\n<p>Finally, remove newer kernels, or it will try to build the models for these kernels when installing nvidia-470 causing errors.<\/p>\n<pre>sudo apt remove --autoremove linux-image-6.14.0-* linux-headers-6.14.0-* linux-image-6.17.0-* linux-headers-6.17.0-*<\/pre>\n<p><b>3. Add rule to block the latest build that auto-install NVIDIA 535.<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51510\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/blockwrapper-700x453.webp\" alt=\"\" width=\"610\" height=\"395\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/blockwrapper-700x453.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/blockwrapper-300x194.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/blockwrapper-768x497.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/blockwrapper.webp 1186w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>As you see via the screenshot above, the latest nvidia 470 driver update (wrapper of 535) is available in the &#8220;Updates&#8221; channel, while the previous build is in &#8220;Security&#8221; channel. To prevent auto-install nvidia 535, we need to add a rule to block the one from &#8220;Updates&#8221;.<\/p>\n<p>To do so, open terminal (Ctrl+Alt+T) and run the command below to create &amp; edit an apt rule:<\/p>\n<pre>sudo nano \/etc\/apt\/preferences.d\/nvidia470<\/pre>\n<p>When file opens (in terminal), add the lines below to prevent installing any nvidia 470 related packages through the &#8220;updates&#8221; channel:<\/p>\n<pre>Package: *nvidia*470*\r\nPin: release a=noble-updates\r\nPin-Priority: -1<\/pre>\n<p>For Ubuntu 22.04, replace <code>noble<\/code> with <b>jammy<\/b>. Then, press Ctrl+S to save, and Ctrl+X to exit.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51511\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/prevent-nvidia535-700x508.webp\" alt=\"\" width=\"610\" height=\"443\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/prevent-nvidia535-700x508.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/prevent-nvidia535-300x218.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/prevent-nvidia535-768x558.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/prevent-nvidia535.webp 866w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p><b>4. Reinstall nvidia 470 driver<\/b>.<\/p>\n<p>Now, run the command to refresh apt repository caches:<\/p>\n<pre>sudo apt update<\/pre>\n<p>And, run command below to show 470 driver package status:<\/p>\n<pre>apt policy nvidia-driver-470<\/pre>\n<p>If everything goes well, you&#8217;ll see that the previous build is available as candidate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51512\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-policy470-700x425.webp\" alt=\"\" width=\"610\" height=\"370\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-policy470-700x425.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-policy470-300x182.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/apt-policy470.webp 736w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>Finally, run the commands below to install kernel headers (required for building kernel models) and 470 driver:<\/p>\n<pre>sudo apt install linux-headers-$(uname -r)<\/pre>\n<pre>sudo apt install nvidia-driver-470<\/pre>\n<p>And, restart computer to apply change if everything goes well without errors.<\/p>\n<h3>Option 2: Install NVIDIA-provided driver with community patches.<\/h3>\n<p>For Ubuntu 26.04 or Ubuntu 24.04 who don&#8217;t want to downgrade Kernel, you may install the NVIDIA-provided driver (.run installer) with community patches. And, the free <a href=\"https:\/\/github.com\/joanbm\/nvidia-470xx-linux-mainline\" target=\"_blank\" rel=\"noopener\">open-source project<\/a> contains the nvidia 470 patches for Kernel 6.13 ~ 7.2.<\/p>\n<p><b>NOTE: This option does NOT work in Ubuntu 26.04 with default GNOME Desktop as it has NO Xorg support. And, KUbuntu 26.04 needs to install <code>plasma-session-x11<\/code> package for Xorg session.<\/b><\/p>\n<div id=\"attachment_51513\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-51513\" class=\"size-large wp-image-51513\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nv470-resolute-700x428.webp\" alt=\"\" width=\"610\" height=\"373\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nv470-resolute-700x428.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nv470-resolute-300x183.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nv470-resolute-768x469.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nv470-resolute.webp 1165w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-51513\" class=\"wp-caption-text\">NVIDIA 470 in XUbuntu 26.04<\/p><\/div>\n<p><b>1.<\/b> First also uninstall NVIDIA 470, 535, or other versions of the proprietary drivers via first step in Option 1. And, restart computer.<\/p>\n<p><b>2.<\/b> Then, open terminal (Ctrl+Alt+T) and run command to install the dependency libraries:<\/p>\n<pre>sudo apt install git wget build-essential linux-headers-$(uname -r) libglvnd-dev<\/pre>\n<p>Then save you work, as next step will kill you desktop and run in full text console.<\/p>\n<p><b>3.<\/b> Next, press <b>Ctrl+Alt+F3 ~ F6<\/b> to switch to TTY command console. And, input your username and password to login.<\/p>\n<div id=\"attachment_51514\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-51514\" class=\"size-large wp-image-51514\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/tty-console-700x482.webp\" alt=\"\" width=\"610\" height=\"420\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/tty-console-700x482.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/tty-console-300x207.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/tty-console-768x529.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/tty-console.webp 781w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><p id=\"caption-attachment-51514\" class=\"wp-caption-text\">TTY command console<\/p><\/div>\n<p><b>4.<\/b> Now, run the command below which will kill all the graphical sessions. This is required for being able to run the NVIDIA-provided <code>.run<\/code> driver installer.<\/p>\n<pre>sudo systemctl isolate multi-user.target<\/pre>\n<p>Press Ctrl+C if the command stuck at blinking cursor.<\/p>\n<p><b>5.<\/b> Next run the command to clone the source which contains all the community patches, and the script to apply them.<\/p>\n<pre>git clone https:\/\/github.com\/joanbm\/nvidia-470xx-linux-mainline<\/pre>\n<p>Finally, navigate to the source folder and run <code>install<\/code> script:<\/p>\n<pre>cd nvidia-470xx-linux-mainline &amp;&amp; .\/install<\/pre>\n<p>The script will automatically download the nvidia-provided .run installer, extract and apply patches, and finally start the installer.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51515\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/joanbm-patches-700x295.webp\" alt=\"\" width=\"610\" height=\"257\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/joanbm-patches-700x295.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/joanbm-patches-300x127.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/joanbm-patches-768x324.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/joanbm-patches.webp 780w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>When the installer starts, select &#8220;Continue installation&#8221; to skip the &#8220;An alternative method of installing the NVIDIA driver was detected &#8230;&#8221; screen. <\/p>\n<p>If kernel&#8217;s built-in Nouveau driver is in use, it will output error due to incompatibility. Just hit OK, then select Yes in next screen to auto-add config file to add nouveau driver into blacklist.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility.webp\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility-700x394.webp\" alt=\"\" width=\"610\" height=\"343\" class=\"aligncenter size-large wp-image-51516\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility-700x394.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility-300x169.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility-768x432.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility-1536x864.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/07\/nvidia-nouveau-incompatibility.webp 1920w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Finally, run <b>reboot<\/b> to reboot computer without nouveau driver and re-run step 3, step 4, step 5 (without <code>git clone<\/code>) to re-start the installer and answer yes\/ok to all questions.<\/p>\n<h3>Uninstall:<\/h3>\n<p>If you installed the legacy 470 driver through the package from Ubuntu system repository, run the command below to uninstall it:<\/p>\n<pre>sudo apt --purge remove '*nvidia*470*'<\/pre>\n<p>For the driver installed through the NVIDIA-provided installer, then re-do step 3 &#038; 4 in Option 2 to stop graphical sessions, then run the command below to uninstall:<\/p>\n<pre>sudo nvidia-uninstall<\/pre>\n<p>To un-blacklist the open-source nouveau Kernel driver, just remove the config files:<\/p>\n<pre>sudo rm \/etc\/modprobe.d\/nvidia-installer-disable-nouveau.conf \/usr\/lib\/modprobe.d\/nvidia-installer-disable-nouveau.conf<\/pre>\n<p>Finally, restart computer to apply changes.<\/p>","protected":false},"excerpt":{"rendered":"<p>Ubuntu finally retried the legacy NVIDIA driver 470 for all current Ubuntu releases! Here&#8217;s how to manually install it back for those who run Ubuntu on GeForce GT 710\/730\/780 etc Kepler GPUs (GeForce 700, 600, TITAN, and Tesla series). Ubuntu announced the end of life of NVIDIA 470 driver support a few months ago. For [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":38385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[656],"class_list":["post-51506","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-nvidia"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51506","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=51506"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51506\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/38385"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=51506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=51506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=51506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}