
参考
- anaconda
- miniconda
- miniforge
は別物らしい
その区別は上記のリンクを参照
今回は mambaが使いたいので、 miniforgeをインストールする
mambaはc++で書かれてるので? 通常のcondaよりも早い
インストールマニュアル
# スクリプトを落としてくる wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" # スクリプトを走らせる bash Miniforge3-$(uname)-$(uname -m).sh
この後、いくつか質問が出たり、yesと打つ
最後に、初期設定をやるか聞かれるのでやっておく
Proceed with initialization? [yes|no]
[no] >>> yes
これで .zshrcの最後にインストールされたminiforgeの設定が追記された
以前から使ってるDebianの.zshrcがあるけど、そのときはanacondaだった気がするので微妙にリンクが違う・・・
なので、これはありがたい
インストールはかなりすぐに終わった。
アンインストールの方法
ここにコマンドラインが載ってる
設定を解除して、rmしていくのでOK
# Use this first command to see what rc files will be updated conda init --reverse --dry-run # Use this next command to take action on the rc files listed above conda init --reverse # Temporarily IGNORE the shell message # 'For changes to take effect, close and re-open your current shell.', # and CLOSE THE SHELL ONLY AFTER the 3rd step below is completed.
CONDA_BASE_ENVIRONMENT=$(conda info --base)
echo The next command will delete all files in ${CONDA_BASE_ENVIRONMENT}
# Warning, the rm command below is irreversible!
# check the output of the echo command above
# To make sure you are deleting the correct directory
rm -rf ${CONDA_BASE_ENVIRONMENT}rm -f "${HOME}/.condarc"
rm -fr ${HOME}/.conda
ランキング参加中です
↓クリックしていただけると嬉しいです〜