====== Ubuntu - GPU - NVIDIA GPU - Setup - Setup manually ======
===== Check the driver needed by the devices =====
sudo ubuntu-drivers devices
----
===== Download the driver setup script =====
Visit the [[https://www.nvidia.com/en-in/drivers/unix/|Official Nvidia website]].
sudo wget https://us.download.nvidia.com/XFree86/Linux-x86_64/510.60.02/NVIDIA-Linux-x86_64-510.60.02.run
----
===== install the prerequisites which will be required by the driver for successful installation =====
sudo apt install build-essential libglvnd-dev pkg-config
----
===== Stop the current display server =====
Before installing the driver, it is mandatory to stop your current display server by changing the run level to 3.
sudo telinit 3
----
===== Install the driver =====
sudo bash NVIDIA-Linux-x86_64-510.60.02.run
----
===== Restart =====
Restart run level 6.
sudo init 6
**NOTE:** This will reboot your system and start it with display server on.
----
===== References =====
https://www.nvidia.com/en-in/drivers/unix/