debian_11_bullseye_et_cuda
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
debian_11_bullseye_et_cuda [2021/12/03 16:01] – serge | debian_11_bullseye_et_cuda [2022/06/18 11:58] (Version actuelle) – [Debian 11 Bullseye Mate et CUDA] serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Debian 11 Bullseye et CUDA ====== | + | ====== Debian 11 Bullseye |
+ | <WRAP center round box 60% centeralign> | ||
+ | **How to install CUDA on Debian 11 Bullseye** | ||
+ | </ | ||
- | =====Installation de Debian===== | + | <WRAP center round alert 60%> |
- | * Voir [[debian_installation_configuration|]] | + | !!!!!!!!! Ce tuto ne marche pas !!!!!!!!!!! |
+ | </ | ||
- | su | + | ===== Installation Préliminaires ===== |
- | | + | |
- | Se déconnecter, | + | <code bash> |
+ | su | ||
+ | / | ||
+ | # Se déconnecter, | ||
+ | sudo pluma / | ||
+ | </ | ||
+ | Remplacer par | ||
+ | <code bash> | ||
+ | deb http:// | ||
+ | deb-src http:// | ||
- | sudo apt install mate-menu mate-desktop-environment-extras locales terminator gparted geany geany-plugins ncdu git gnome-system-tools caja-open-terminal cheese guvcview software-properties-common | + | deb http:// |
+ | deb-src http:// | ||
- | =====CUDA===== | + | deb http:// |
+ | deb-src http:// | ||
+ | </ | ||
+ | <code bash> | ||
+ | sudo dpkg --add-architecture i386 | ||
+ | sudo apt update | ||
+ | sudo apt upgrade | ||
+ | sudo apt install mate-menu mate-desktop-environment-extras locales ncdu git gnome-system-tools caja-open-terminal software-properties-common mate-tweak synaptic terminator geany geany-plugins git firmware-iwlwifi firmware-linux-nonfree | ||
+ | </ | ||
+ | =====Cuda et Driver Nvidia===== | ||
+ | L' | ||
+ | <code bash> | ||
+ | sudo apt install nvidia-cuda-toolkit nvidia-cuda-dev | ||
+ | nvcc --version | ||
+ | </ | ||
- | {{tag> ia linux sb systeme_exploitation | + | **Certificat de la bonne installation: |
+ | <code bash> | ||
+ | nvcc: NVIDIA (R) Cuda compiler driver | ||
+ | Copyright (c) 2005-2021 NVIDIA Corporation | ||
+ | Built on Sun_Feb_14_21: | ||
+ | Cuda compilation tools, release 11.2, V11.2.152 | ||
+ | Build cuda_11.2.r11.2/ | ||
+ | </ | ||
+ | ====CuDNN==== | ||
+ | Télécharger CuDNN à [[https:// | ||
+ | Pour pouvoir télécharger, | ||
+ | |||
+ | Choisir un deb pour Ubuntu 20.04 ! | ||
+ | Exemple: | ||
+ | <code bash> | ||
+ | sudo dpkg -i libcudnn8_8.1.1.33-1+cuda11.2_amd64.deb | ||
+ | sudo dpkg -i libcudnn8-dev_8.1.1.33-1+cuda11.2_amd64.deb | ||
+ | </ | ||
+ | |||
+ | =====Compilation de OpenCV avec CUDA===== | ||
+ | |||
+ | |||
+ | {{tag> |
debian_11_bullseye_et_cuda.1638547293.txt.gz · Dernière modification : 2021/12/03 16:01 de serge