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:21] – [Debian 11] 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.debian.org/debian bullseye-updates main contrib non-free |
| - | ====Ressources==== | + | deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free |
| - | * [[installation_de_cuda|Installation de CUDA sur Ubuntu 20.04]] | + | </ |
| - | * https://www.server-world.info/en/ | + | <code bash> |
| - | * https://www.server-world.info/en/note? | + | 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 | ||
| + | </code> | ||
| - | ====Debian 11==== | + | =====Cuda et Driver Nvidia===== |
| - | + | L' | |
| - | ===Driver=== | + | |
| - | + | ||
| - | sudo pluma / | + | |
| - | | + | |
| <code bash> | <code bash> | ||
| - | deb http:// | + | sudo apt install nvidia-cuda-toolkit nvidia-cuda-dev |
| - | deb-src http:// | + | nvcc --version |
| + | </code> | ||
| - | deb http:// | + | **Certificat de la bonne installation:** |
| - | deb-src http:// | + | <code bash> |
| - | + | nvcc: NVIDIA (R) Cuda compiler driver | |
| - | deb http:// | + | Copyright (c) 2005-2021 NVIDIA Corporation |
| - | deb-src http:// | + | Built on Sun_Feb_14_21: |
| + | Cuda compilation tools, release 11.2, V11.2.152 | ||
| + | Build cuda_11.2.r11.2/compiler.29618528_0 | ||
| </ | </ | ||
| + | ====CuDNN==== | ||
| + | Télécharger CuDNN à [[https:// | ||
| + | Pour pouvoir télécharger, | ||
| - | sudo apt update | + | Choisir un deb pour Ubuntu 20.04 ! |
| - | sudo apt -y install nvidia-driver firmware-misc-nonfree | + | Exemple: |
| - | cat / | + | <code bash> |
| - | on fait quoi ? | + | 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 |
| - | blacklist nouveau | + | </ |
| - | reboot | + | |
| - | nvidia-smi | + | |
| - | + | ||
| - | ===CUDA=== | + | |
| - | * apt -y install nvidia-cuda-toolkit nvidia-cuda-dev | + | =====Compilation de OpenCV avec CUDA===== |
| - | * nvcc --version | + | |
| - | {{tag> ia linux sb systeme_exploitation | + | {{tag> |
debian_11_bullseye_et_cuda.1638548481.txt.gz · Dernière modification : de serge
