wiki/HowtoConda.md
2023-11-24 15:42:46 +01:00

36 lines
1.4 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
categories: sysadmin
title: Howto Conda
...
Conda est un système de gestion de paquets et denvironnement open-source qui fonctionne sous Windows, macOS et Linux. Conda installe, exécute et met à jour rapidement les paquets et leurs dépendances. Conda crée, enregistre, charge et bascule facilement entre les environnements sur votre ordinateur local.
# Installation
~~~
# curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg
# install -o root -g root -m 644 conda.gpg /etc/apt/keyrings/conda-archive-keyring.gpg
# mkdir /etc/apt/keyrings
# install -o root -g root -m 644 conda.gpg /etc/apt/keyrings/conda-archive-keyring.gpg
# gpg --keyring /etc/apt/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806
# echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list
# echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | sudo tee -a /etc/apt/sources.list.d/conda.list
# chmod o+rx /etc/apt/keyrings/
# chmod o+r /etc/apt/keyrings/conda-archive-keyring.gpg
# apt update
# apt install conda
~~~
Voir la version
~~~
source /opt/conda/etc/profile.d/conda.sh
conda -V
# conda 23.9.0
~~~
# Configuration
# Cas d'usage
# FAQ