LoginSignup
0
0

More than 3 years have passed since last update.

Ubuntuに過去のnvidia-driverを導入

Last updated at Posted at 2020-10-16

nouveauの無効化

cd etc/modprobe.d/
touch blacklist-nouveau.conf

blacklist-nouveau.confに以下の2行を記述

blacklist nouveau
options nouveau modeset=0

再読み込み & 再起動

sudo update-initramfs -u
reboot

CUDA10.1リポジトリの導入

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.1.105-1_amd64.deb

CUDA10.1リポジトリのインストール

sudo apt install ./cuda-repo-ubuntu1804_10.1.105-1_amd64.deb 

パプリックGPGキーの取得

上記コマンドからsudo apt-key adv --fetch-keys...を叩く

The public CUDA GPG key does not appear to be installed.
To install the key, run this command:
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/comput

リポジトリのアプデ

sudo apt update

機械学習リポジトリの導入

wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
sudo apt update

インストール可能nvidia-driverの確認

ubuntu-drivers devices

特定のnvidia-driverのインストール

sudo apt install nvidia-418
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0