How to install a GTX 1060?

33,852
  1. Add the Official Graphic Cards PPA

     sudo add-apt-repository ppa:graphics-drivers/ppa
     sudo apt-get update
    
  2. Check which Nvidia Driver Version is the latest: Go to https://www.geforce.com/drivers and pick your GPU, check which one is the non-beta. Today the version is 390.

  3. Leave the X server: Press Ctrl+Alt+F1 it should give you a black screen asking you to log in. After logging in, shut down the x-server with

     sudo service lightdm stop
    
  4. Install your Nvidia Driver

     sudo apt-get install nvidia-driver-390
    
  5. Reboot your PC

     sudo reboot
    
Share:
33,852
PortWein
Author by

PortWein

Updated on September 18, 2022

Comments

  • PortWein
    PortWein over 1 year

    Got Ubuntu 16.04, bought a MSI GTX 1060 Gaming X, connected it to PCI, lights on, but actually I dont know how to install and use it.

    Last time I installed the Cuda package, I ended up in a login loop and had to reinstall Ubuntu.

    The CD that came with the GPU seems to contain only Win-Drivers. Has anyone the same or pretty similar GPU and can tell me how to install or where is a tutorial for this?

    Thank you.

    • PortWein
      PortWein about 6 years
      this tutorial seems pretty old... the official nvidia installation guide seems too complicated for me unfortunately
    • Terrance
      Terrance about 6 years
      That tutorial still works fine. Just open a terminal window and copy and paste each of the lines from the first answer. You will probably want to change the line about the actual installation of the driver to sudo apt install nvidia-396
    • PortWein
      PortWein about 6 years
      You mean instead of "sudo apt-get install nvidia-370"? So I dont have to take all these hundreds of terminal commands from the nvidia guide?
    • Terrance
      Terrance about 6 years
      I am sorry, I was talking about the steps in the link above of How do I install the Nvidia drivers.
    • PortWein
      PortWein about 6 years
      I dont understand what I have to do, even if I read this blog you forwarded me to... it's still not working. :(
  • PortWein
    PortWein about 6 years
    Alt-F1 doesnt get me into the black screen but seach-mode...
  • PortWein
    PortWein about 6 years
    Now I got the black screen but I forgot my PW in the grub menu as well so I cant leave the x server from the "normal" terminal, can I ? :(
  • Terrance
    Terrance about 6 years
    @PortWein Alt+F7 should return you back to the GUI.
  • Seraf
    Seraf about 6 years
    @PortWein Can you update your question with the output of the commands?
  • PortWein
    PortWein about 6 years
    @ Seraf How can I see this outputs? Thanks for caring
  • Seraf
    Seraf about 6 years
    Try to do sudo apt-get purge nvidia-* before step 4 and then check what's the output after step 4. Let me know what's the output.
  • Tashows
    Tashows over 2 years
    I got an error that said it could not locate package. I changed the command to sudo apt-get install nvidia-driver-470. Found here: askubuntu.com/questions/951046/…
  • Seraf
    Seraf over 2 years
    @Tashows can you edit the answer with the updated info?
  • Tashows
    Tashows over 2 years
    @Seraf Sure, I submitted an edit.