The Elaborate Steps to Install Nvidia Drivers
- How to Install Nvidia Driver On Ubuntu 18.04 Bionic Beaver Linux, there are three methods. The first method is the Automatic Install which is done using the standard Ubuntu Repository.
- The second method is the Automatic Install using the PPA repository to install Nvidia Beta drivers. The third method is the Manual Install using the official driver.
- For Automatic Install using standard Ubuntu Repository: Detect the model of your Nvidia graphic card and the recommended driver. If you accept the recommendation, use the ubuntu-drivers command ($ sudo ubuntu-drivers autoinstall) again to install all the recommended drivers. For a particular driver, use the apt command ($ sudo apt install nvidia-340). After the installation process is complete, reboot your system and your drivers are installed.
For Automatic install using PPA repository to install Nvidia Beta drivers:
First, add the ppa:graphics-drivers/ppa repository to your system by following the command ($ sudo add-apt-repository ppa: graphics-driver/ppa) and then ($ sudo apt update). Now, identify your graphic card model and the recommended driver. Just like the standard Ubuntu repository, either install all the recommended drivers automatically or a specific driver. When completed, reboot your system.
For Manual Install using the official driver:
- Find your NVIDIA VGA card. Use the following command to find your Nvidia card model ($ lshw-numeric-c display or $ lspic-vnn/grep VGA). Download the official Nvidia driver by using the web browser. Go to official Nvidia website and download the appropriate driver for the Nvidia graphic card. Later, save the file into your home directory.
- Install the prerequisites. The following prerequisites are mandatory to compile and install the driver ($ sudo display –add architecture i386 or $ sudo apt update). Follow the next steps to disable the default nouveau Nvidia driver. Follow the upcoming steps to disable the default nouveau Nvidia driver.
- First, reboot your system. For installing a new Nvidia driver initially, we need to stop the current display server.
- Perform changes into the runlevel 3 using the telinit command ($ sudo telinit 3). After running the command, the display server will stop. Before proceeding further, save all of your current files.
- To begin your installation of Nvidia driver, use the Linux command and follow the wizard ( $ bash Nvidia – Linux-x86-64-410.73.bin). Accept the License option and follow the wizard to complete the installation and How to Install Nvidia Driver On Ubuntu. Again, reboot your system ( $ sudo reboot).
- After rebooting, configure the NVIDIA X Server Settings and you will be able to start the NVIDIA X Server Settings from the Activities menu.