Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How To Install Nvidia Drivers On Ubuntu 22.04 LTS

How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast

Posted on October 31, 2023October 31, 2023 By Jim Hoffman No Comments on How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast

Let us find out how to properly Install and Uninstall Linux Ubuntu Nvidia Drivers Fast using the Command line and also using UX/UI.

We shall learn how to install the Linux Ubuntu NVIDIA drivers from the command line, using either the

ubuntu-drivers

tool (recommended), or APT.

Device drivers literally drive everything you’re interested in–disks, monitors, keyboards, modems–everything outside the computer chip and memory. With the ubuntu-drivers command, you can install the recommended driver for the device. Installing Linux Ubuntu Nvidia Drivers is very easy on both command lines and UI. AOT is Ubuntu recommended way to install Linux Ubuntu Nvidia Drivers.

First, detect the model of your device and the recommended driver. To do so execute the following command. Please note that your output and recommended driver will most likely be different:

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C03sv00001043sd000085ABbc03sc00i00
vendor   : NVIDIA Corporation
model    : GP106 [GeForce GTX 1060 6GB]
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-435 - distro non-free
driver   : nvidia-driver-440 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

But if you have no drivers or you have ubuntu-drivers command not working as seen below, please follow the below commands to make ubuntu-drivers work on Ubuntu Linux.

Linux Ubuntu Nvidia Drivers
Linux Ubuntu Nvidia Drivers

So run

$ apt ubuntu-drivers-common

You can also tun

$ sudo ubuntu-drivers autoinstall

Update the NVIDIA Drivers on Ubuntu 22.04 LTS [How To]

The recommended way (ubuntu-drivers tool) to install Linux Ubuntu Nvidia Drivers

The

ubuntu-drivers

tool relies on the same logic as the “Additional Drivers” graphical tool, and allows more flexibility on desktops and on servers. So let’s continue to read about How To Correctly Install Linux Ubuntu Nvidia Drivers Fast.

READ More Relevant Stuff:  How To Update the NVIDIA Drivers on Ubuntu 22.04 LTS

The

ubuntu-drivers

tool is recommended if your computer uses Secure Boot since it always tries to install signed drivers which are known to work with Secure Boot.

Check the available drivers for your hardware

For desktop:

sudo ubuntu-drivers list

or, for servers:

sudo ubuntu-drivers list --gpgpu

You should see a list such as the following:

nvidia-driver-418-server
nvidia-driver-515-server
nvidia-driver-525-server
nvidia-driver-450-server
nvidia-driver-515
nvidia-driver-525

Installing the drivers for generic use (e.g. desktop and gaming)

You can either rely on automatic detection, which will install the driver that is considered the best match for your hardware:

sudo ubuntu-drivers install

Or you can tell the

ubuntu-drivers

tool which driver you would like installed. If this is the case, you will have to use the driver version (such as

525

) that you saw when you used the

ubuntu-drivers list

command.

Let’s assume we want to install the

525

driver:

sudo ubuntu-drivers install nvidia:525

Installing the drivers on servers and/or for computing purposes

You can either rely on automatic detection, which will install the driver that is considered the best match for your hardware:

sudo ubuntu-drivers install --gpgpu

Or you can tell the

ubuntu-drivers

tool which driver you would like installed. If this is the case, you will have to use the driver version (such as

525

) and the

-server

suffix that you saw when you used the

ubuntu-drivers list --gpgpu

command.

Let’s assume we want to install the

525-server

driver (listed as

nvidia-driver-525-server

):

sudo ubuntu-drivers install --gpgpu nvidia:525-server

You will also want to install the following additional components:

sudo apt install nvidia-utils-525-server

Optional step

If your system comes with NVswitch hardware, then you will want to install Fabric Manager and the NVSwitch Configuration and Query library. You can do so by running the following:

sudo apt install nvidia-fabricmanager-525 libnvidia-nscq-525

Manual driver installation (using APT)

Installing the NVIDIA driver manually means installing the correct kernel modules first, then installing the meta package for the driver series.

READ More Relevant Stuff:  Download NVIDIA 510.47.03 Graphics Driver For Linux

Installing the kernel modules

If your system uses Secure Boot (as most x86 modern systems do), your kernel will require the kernel modules to be signed. There are two (mutually exclusive) ways to achieve this.

Installing the pre-compiled NVIDIA modules for your kernel

Install the meta package for your kernel flavor (e.g.

generic

,

lowlatency

, etc) which is specific to the driver branch (e.g.

525

) that you want to install, and whether you want the compute vs. general display driver (e.g.

-server

or not):

sudo apt install linux-modules-nvidia-${DRIVER_BRANCH}${SERVER}-${LINUX_FLAVOUR}

(e.g.

linux-modules-nvidia-525-generic

)

Check that the modules for your specific kernel/ABI were installed by the meta package:

sudo apt-cache policy linux-modules-nvidia-${DRIVER_BRANCH}${SERVER}-$(uname -r)

(e.g.

sudo apt-cache policy linux-modules-nvidia-525-$(uname -r)

)

If the modules were not installed for your current running kernel, upgrade to the latest kernel or install them by specifying the running kernel version:

sudo apt install linux-modules-nvidia-${DRIVER_BRANCH}${SERVER}-$(uname -r)

(e.g.

sudo apt install linux-modules-nvidia-525-$(uname -r)

)

Building your own kernel modules using the NVIDIA DKMS package

Install the relevant NVIDIA DKMS package and

linux-headers

to build the kernel modules, and enroll your own key to sign the modules.

Install the

linux-headers

meta package for your kernel flavor (e.g.

generic

,

lowlatency

, etc):

sudo apt install linux-headers-${LINUX_FLAVOUR}

Check that the headers for your specific kernel were installed by the meta package:

sudo apt-cache policy linux-headers-$(uname -r)

If the headers for your current running kernel were not installed, install them by specifying the running kernel version:

sudo apt install linux-headers-$(uname -r)

Finally, install the NVIDIA DKMS package for your desired driver series (this may automatically guide you through creating and enrolling a new key for Secure Boot):

sudo apt install nvidia-dkms-${DRIVER_BRANCH}${SERVER}

Installing Linux Ubuntu Nvidia Drivers in UX/UI Environment | Install Uninstall Linux Ubuntu Nvidia Drivers

Version:535.113.01
Release Date:2023.9.21
Operating System:Linux 64-bit
Language:English (US)
File Size:325.69 MB
READ More Relevant Stuff:  Ubuntu 23.10 “Mantic Minotaur” Release Schedule

Download Linux X64 (AMD64/EM64T) Display Driver

Install Linux Ubuntu Nvidia Drivers
Install Linux Ubuntu Nvidia Drivers

Installing the user-space drivers and the driver libraries

After installing the correct kernel modules (see the relevant section of this document), install the correct driver meta package:

sudo apt install nvidia-driver-${DRIVER_BRANCH}${SERVER}

(Optional) Installing Fabric Manager and the NSCQ library

If your system comes with NVswitch hardware, then you will want to install Fabric Manager and the NVSwitch Configuration and Query library. You can do so by running the following:

sudo apt install nvidia-fabricmanager-${DRIVER_BRANCH} libnvidia-nscq-${DRIVER_BRANCH}

Uninstalling the NVIDIA drivers

Remove any NVIDIA packages from your system:

sudo apt --purge remove '*nvidia*${DRIVER_BRANCH}*'

Remove any additional packages that may have been installed as a dependency (e.g. the

i386

libraries on amd64 systems) and which were not caught by the previous command:

sudo apt autoremove

Install Uninstall Linux Ubuntu Nvidia Drivers YouTube Video

Ubuntu, ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04 Tags:driver, NVIDIA

Post navigation

Previous Post: Ethical Web Design: The Dos and Don’ts
Next Post: Anonymous Browsing 101: A Deep Dive Into Residential Proxies

Related Posts

Install Stacer System Monitoring Software In Ubuntu Ubuntu
Best Download Managers For Ubuntu Operating System Best Download Managers For Ubuntu Operating System Ubuntu
Papirus Icon Theme In Ubuntu 20.04 LTS Install Papirus Icon Theme In Ubuntu 20.04 Themes
How To Install KDE Plasma On Ubuntu 22.04 LTS How To Install KDE Plasma On Ubuntu 22.04 LTS Ubuntu 22.04
Install Java On Ubuntu 20.04 LTS Install Java On Ubuntu 20.04 LTS Ubuntu 20.04
Tutorial To Add Swap Space On Ubuntu 20.04 Tutorial To Add Swap Space On Ubuntu 20.04 Ubuntu 20.04

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023
  • Linux Wget Examples September 27, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • Prepared Foods Order Writer (Deli / Culinary – Buyer / Inventory Replenishment) – Full Time

    • Thayne, WY
    • Whole Foods Market
    • Full Time
  • Sr. Risk and Controls Compliance Policy Writer (on-site Phoenix, Chicago, San Fran)

    • San Francisco, CA
    • INSPYR Solutions
    • Full Time
  • Artificial Intelligence & Gen AI Engineer – Tampa, Hybrid

    • Tampa, FL
    • Citigroup Inc
    • Full Time
  • Sr. Technical Documentation Specialist – REMOTE

    • Atlanta, GA
    • HHS Technology Group, Inc.
    • Full Time
  • TECHNOLOGY VICE PRESIDENT, ARTIFICIAL INTELLIGENCE & MACHINE LEARNING AND DATA

    • Falls Church, VA
    • NLP PEOPLE
    • Full Time
  • Architectural Drafter

    • Sarasota, FL
    • Start To Finish Drafting
    • Full Time
  • Senior or Principal Data Scientist – Technical AI Ethicist

    • Seattle, WA (Remote)
    • salesforce.com, inc.
    • Full Time
  • Artificial Intelligence (AI) Data Scientist

    • Fairfax, VA
    • General Dynamics Information Technology
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme