Installation
https://docs.anaconda.com/free/miniconda/
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init bash
where does miniconda store the python packages?
When the environment is set to (base),
and miniconda is installed in ~/miniconda
and the used python version is 3.11
then for example
numpy is installed in
~/miniconda3/lib/python3.11/site-packages/numpy
Conda and bash
If you'd prefer that conda's base environment not be activated on startup,
run the following command when conda is activated:
conda config --set auto_activate_base false
This does not modify .bashrc.
Remove miniconda:
https://stackoverflow.com/questions/29596350/how-to-uninstall-mini-conda-python
Use the answer that starts with
"The proper way to fully uninstall conda (Anaconda / Miniconda):"
conda activate your_conda_env_name
conda install anaconda-clean
anaconda-clean # add `--yes` to avoid being prompted to delete each one
rm -rf ~/miniconda3
Edit ~/.bashrc
Remove the section that conda added
rm -rf ~/.anaconda_backup