1. Install the graphics software
sudo add-apt-repository ppa: nilarimogard / webupd8 # added PPA update source
APT- sudo GET Update # Refresh to update the source list
APT- the sudo GET the install Prime-Indicator # mounted two graphics indicator
Installation, restart. In the upper right corner of the desktop will be a sign to switch graphics (picture second from left ), but this time, because the driver not yet installed, so I can not switch
2. Install the graphics card
Press Ctrl + Alt + F1 to enter the command line mode, first log in with current user name and password
sudo service lightdm stop # graphics system shut down
APT- sudo GET install Nvidia 418 # to go to the official website of the appropriate version number (tensoflow2 requires 410.48 or higher)
sudo service lightdm start # start the graphical system
sudo reboot
nvidia driver installed, this time graphics software can also be used
Follow cuda cudnn