Ubuntu 18.04 64 bit installation tensorflow-gpu

The first step (Step jump directly): graphics driver installed nvidia

linux users install the GPU driver can solve the problem through official ppa. Use the following command to add Graphic Drivers PPA:

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

Then update source:

1
sudo apt - get update 

Navidia then go to the official website to see the latest driver version number: navidia official website: http://www.geforce.cn/drivers
such as the latest driver version number is 396, then execute the following command:

1
sudo apt - get install nvidia - 396

Finally, install openGL support:

1
sudo apt - get install mesa - common - dev 

Guess you like

Origin www.cnblogs.com/happystudyeveryday/p/11366062.html