1.5 KiB
1.5 KiB
Here's a concise step-by-step guide to download, verify the hash, and set up Conda on your Debian 12 system:
-
Update your system:
sudo apt update && sudo apt upgrade -
Install required dependencies:
sudo apt install wget gpg python3 python3-pip -
Download the Miniconda installer:
cd ~/Downloads wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -
Verify the hash of the downloaded installer:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh.sha256 sha256sum Miniconda3-latest-Linux-x86_64.sh cat Miniconda3-latest-Linux-x86_64.sh.sha256 -
Install Miniconda:
chmod +x Miniconda3-latest-Linux-x86_64.sh ./Miniconda3-latest-Linux-x86_64.sh -
Initialize Conda:
source ~/.bashrc conda --version conda init bash -
Create a Conda environment:
conda create --name myenv python=3.12 conda activate myenv -
Update pip and install packages within the environment:
python3 -m pip install --upgrade pip python3 -m pip install jupyter numpy pandas matplotlib -
Launch Jupyter Notebook from the active environment:
jupyter notebook -
Deactivate the environment when done:
conda deactivate
Remember to replace myenv with your desired environment name and adjust the Python version and package list according to your requirements.