How to install GPU driver for a ubuntu 18 04 instance

0 votes
related to an answer for: Create a VM instance with GPU.
Nov 7, 2019 in GCP by anonymous
• 19,600 points
1,266 views

1 answer to this question.

0 votes

After you create an instance with one or more GPUs, your system requires device drivers so that your applications can access the device.

To ensure a successful installation, your operating system must have the latest package updates.

  1. Connect to the instance where you want to install the driver.

  2. Select a driver repository for the CUDA Toolkit and add it to your instance.

    curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
    sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
    sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
  3. Update the package lists.

    sudo apt-get update
  4. Install CUDA, which includes the NVIDIA driver.

    sudo apt-get install cuda
answered Nov 7, 2019 by Sirajul
• 59,170 points
How do I check if the GPU driver is properly installed?

Related Questions In GCP

0 votes
1 answer

Unable to install NVIDIA driver on various GCP Ubuntu VM's with Tesla K80 GPU

The mistake you are making here is ...READ MORE

answered Apr 5 in GCP by Korak
• 5,820 points
234 views
0 votes
1 answer

Unable to install NVIDIA driver on various GCP Ubuntu VM's with Tesla K80 GPU

If you've installed the driver so many ...READ MORE

answered Mar 20 in GCP by Korak
• 5,820 points
98 views
0 votes
1 answer
0 votes
1 answer

How to add a PTR record to my VM instance on gcp?

If your VM instance uses the primary ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 59,170 points
1,034 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,170 points
1,637 views
0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,170 points
718 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP