Install Nvidia Driver on Ubuntu 20.04 LTS(Focal Fossa)

 1. Download NV Driver form

https://www.nvidia.com/Download/index.aspx?lang=en-us

2. Install development tools

$ sudo apt-get update

$ sudo apt-get install build-essential libglvnd-*

3. Install make 

$ sudo apt-get install ubuntu-make

4. Execute and compile driver binary (eg. NVIDIA-LINUX-x86_64-470.86.run)

$ sudo chmod  a+x ./NVIDIA-LINUX-x86_64-470.86.run

$ ./NVIDIA-LINUX-x86_64-470.86.run


 

 

 

 

 

 

 

 

 

or

1.

$ apt-cache search nvidia-driver

or

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

$ sudo apt-get update

2. 

$ sudo ubuntu-drivers devices



 

 

 

3. install recommended

$ sudo apt-get install nvidia-driver-515

4. check driver

$ nvidia-smi 

5. modify setting by GUI

$ sudo nvidia-settings

 

6. GUI method installation of drivers

search driver in search and apply changes by additional drivers repository


 

 





 

references

https://blog.eldernode.com/install-development-tools-on-ubuntu/

https://www.ibm.com/docs/zh-tw/visual-insights?topic=SSC5ZE/com.ibm.vi.doc/config/t_inst_nvidia_gpu_pkg.html


https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/

這個網誌中的熱門文章

Upgrade php and httpd(apache) on CentOS 7

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)