Uninstall Anaconda on Ubuntu
  • 10,089 views,
  • 2018-11-02,
  • 上傳者: Kuann Hung,
  •  0
e153fb41c7b015d8f16db8e2f46e641f.jpg
步驟
1.
安裝 clean 工具
conda install anaconda-clean
 
執行 clean 工具
anaconda-clean
2.
刪除相關目錄
# anaconda2
rm -rf ~/anaconda2

# anaconda3
rm -rf ~/anaconda3
3.
移除相關設定
sudo vi ~/.bashrc
 
找一下 anaconda 相關的設定都刪除掉
# added by Anaconda3 5.3.0 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/home/ubuntu-tensorflow/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
    \eval "$__conda_setup"
else
    if [ -f "/home/ubuntu-tensorflow/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/home/ubuntu-tensorflow/anaconda3/etc/profile.d/conda.sh"
        CONDA_CHANGEPS1=false conda activate base
    else
        \export PATH="/home/ubuntu-tensorflow/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda init <<<

訪客如要回應,請先 登入
    資料夾 :
    發表時間 :
    2018-11-02 10:02:51
    觀看數 :
    10,089
    發表人 :
    Kuann Hung
    部門 :
    老洪的 IT 學習系統
    QR Code :