LoginSignup
2
2

More than 5 years have passed since last update.

Ubuntu14.04にCUDA10を入れる

Last updated at Posted at 2018-11-20

まずは、以下を実行しておく

apt-get update
apt-get upgrade

今まで使っていたものを削除する

sudo apt-get remove nvidia*
sudo apt-get remove cuda*
sudo apt-get autoremove

CUDA Toolkit 10.0 Download
で以下のように選択する。

cuda-download-image.png

Ctrl + Alt + F1でCUIに移動して、

sudo service lightdm stop

ファイルのある場所に移動して(cd ~/ダウンロード)

sudo sh cuda_10.0.hoge_hoge.hoge_linux.run

おまけ

tensorflow-gpuとkerasはanacondaで入れると必要なcudnnとかを自動でインストールしてくれる。さらにpipで入れるより高速らしい

conda install tensorflow-gpu
conda install keras
2
2
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
2
2