Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»General Articles»How To Install NVIDIA Drivers on Ubuntu 20.04

    How To Install NVIDIA Drivers on Ubuntu 20.04

    By RahulJuly 11, 20214 Mins Read

    Most Desktop computers and laptops come with a pre-installed Graphic Card. You can also upgrade or install a custom graphic card according to your requirements. The wildly popular graphic card manufacturers are Nvidia and AMD.

    Advertisement

    We need drivers to configure and manage our graphic cards. The Ubuntu operating system has a default open-source driver named Nouveau for Nvidia Graphic Cards.

    This default driver is very unstable and does not offer reliability. It isn’t compatible with the latest hardware. The default drivers are mostly being used by old cards. These old cards are not by Nvidia anymore. Hardcore open-source believers and Some users with multi-GPU setups also use Nouveau as it allows the card to share its video outputs. The official NVIDIA drivers do not support shared video outputs.

    To get the most out of our NVIDIA graphic card we need to install Nvidia’s official drivers.

    In this post, I will describe how to install Nvidia drivers on Ubuntu 20.04. The installation process is very easy and straightforward, So let’s get started.

    How to install Nvidia drivers on Ubuntu through GUI

    Using GUI to install NVIDIA drivers is very easy and straightforward. This method is quick, efficient, and recommended for the majority of users.

    Open the activities menu by clicking on the top left corner of your desktop and go to the search bar.

    Launch activities

    Now search for “drivers” and click on “Additional Drivers”

    Open Additional drivers settings

    The “Software & Updates” window will open and you will get a list of Nvidia drivers depending on the graphics card installed in your system:

    Select Nvidia drive to install on Ubuntu

    Choose the driver that is compatible with your graphic card and click on the “Apply Changes” button.

    Finish Nvidia installation

    Restart your system upon the completion of the installation process. The new driver will start working once the system is rebooted

    How to install Nvidia Drivers on Ubuntu with Default Repoisitories

    You can also use the terminal to install Nvidia drivers. Ubuntu has the “ubuntu-drivers” tool which can be used to find drivers for all the devices on the system.

    Fire up the terminal by pressing Ctrl+Alt+T. Now use the following command to get the details of your devices and their available drivers:

    ubuntu-drivers devices 
    

    Check Ubuntu drivers devices

    Now to install the available driver, use the apt package manager. Generally, downloading the recommended driver is the best practice:

    sudo apt install nvidia-driver-450 
    

    Installing nVidia drviers on Ubuntu

    Restart your operating system once the installation process is complete to let the changes take effect.

    How to install Nvidia Drivers on Ubuntu using PPA

    The PPA repository enables us to download and install software that is not available on the official repositories of Ubuntu. We can install the latest beta versions of the software by using the PPA repository but these beta software come at the cost of stability. So it is not recommended to install drivers using the PPA repository.

    To add the PPA repository to your system use the following command:

    sudo add-apt-repository ppa:graphics-drivers/ppa 
    

    Adding Nvidia PPA on Ubuntu 20.04

    The terminal will ask for the root password and confirmation.

    Confirm Add Nvidia PPA on Ubuntu 20.04

    Once the PPA repository is installed use the ubuntu-drivers tool to get the list of all the available drivers.

    ubuntu-drivers devices 
    

    Check Ubuntu drivers devices

    Choose the desired driver from the list and execute the following command to install it:

    sudo apt install nvidia-driver-version 
    

    In this example we will install the nvidia-driver-465:

    sudo apt install nvidia-driver-465 
    

    Install Nvidia on Ubuntu with PPA

    Completed Nvidia installation on Ubuntu 20.04

    Conclusion

    Drivers are software that is used to control, manage, operate and configure hardware attached to the computer. Nvidia’s official drivers are optimized for the newest hardware. They let the user harness the full potential of the graphic cards.

    In this write-up, we discussed three different methods we can use to install NVIDIA drivers on Ubuntu 20.04 operating system. Moreover, we can also visit NVIDIA’s website to download and install the latest drivers.

    drivers nvidia
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Implementing a Linux Server Security Audit: Best Practices and Tools

    15 Practical Examples of dd Command in Linux

    Iptables: Common Firewall Rules and Commands

    View 2 Comments

    2 Comments

    1. Dean on March 26, 2022 3:56 pm

      Unfortunately these no longer work. They give a stream of 404 errors:

      Err:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386 libc6 i386 2.31-0ubuntu9.2
      404 Not Found [IP: 91.189.91.39 80]

      Reply
      • Dean on March 26, 2022 4:03 pm

        Looks like it needed a sudo apt update first. Please disregard the original comment.

        Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.