Instalar Conda

De Wiki Proyectos Beta
Ir a la navegación Ir a la búsqueda

GNU/Linux

Debian

Debian 12

curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg
sudo install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg
gpg --keyring /usr/share/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | sudo tee /etc/apt/sources.list.d/conda.list
sudo apt update
sudo apt install conda
sudo apt autoremove && sudo apt autoclean && sudo apt clean

Buscamos conda:

sudo find / -name "conda" 2>/dev/null

Si conda está en /opt/conda/bin, puedes agregarlo al PATH así:

echo 'export PATH="/opt/conda/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
conda --version

Sale por pantalla:

conda 24.5.0