- PDF version
- Source code for the book.
It is useful to know how to entirely get rid of all things conda
.
On a Unix-like system.
First remove the installation itself and all config/cache files:
rm -rf ~/miniconda3 ~/.conda*
Then, you will want to remove what it added to your login scripts to auto-activate your base
environment when you log in.
On a Linux machine, that file is ~/.bashrc
.
On macOS, I believe is it ~/.bash_profile
.
In either case, there's a "dotfile" for your shell, the end of which has a chunk of shell code related to conda
.
On my machine, it looks like this:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/condauser/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/condauser/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/condauser/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/condauser/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
Use your favorite text editor to remove that.
Restart your shell/terminal, and you are now free from conda
!
You can re-install now.
- Notes on conda and R Studio
For this week:
- Set up a new repository.
The repo name will be
AdvancedInformaticsExercises
. - The
README.md
file will be the landing point for a website. - Submit a pull request that adds some random text somewhere in the
README
.