0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Nvidiaドライバー インストールエラー

Posted at

発生時の環境

  • Ubuntu 22.04

エラー発生の条件

apt経由でNvidiaドライバーを580を導入。

解決方法

'''
sudo CC=gcc-12 CXX=g++-12 apt install nvidia-driver
'''

詳細

私の場合はカーネルとドライバーのコンパイラのバージョンが違うことが原因でした。
一行目と二行目でバージョンが違う場合コンパイラバージョンが間違っている可能性があります。
'''
cat /proc/version
gcc --version
'''

カーネルと異なるバージョンのgcc,g++しか入っていない場合はインストールして解決方法を実施してください。
'''
sudo apt install gcc-12 g++-12
'''

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?