0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Mambaforgeからmambaをインストール

Posted at

condaの代替で,conda-forgeを対象とした,速いと評判のmambaをMambaforgeからインストールしました.WSL2のUbuntu 22.04,九州大学スパコン玄界,東京大学スパコンWisteria-Oで検証済みです.
最初にMinicondaやAnacondaがインストールされている場合はそれをdeactivateし,.bashrc等に関連の追記がある場合は削除(コメントアウト)しておきます.

cd ~/Downloads
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh

質問にはすべてデフォルトで答えました.
以下を .bashrc に追記します.

source "$HOME/mambaforge/etc/profile.d/conda.sh"
source "$HOME/mambaforge/etc/profile.d/mamba.sh"

再ログインし,以下のコマンドを実行します.condaの代わりにmambaでも構いません.

conda activate base
conda update conda

あとはcondaで普通に作業ができます.
仮想環境中でcondaをupdateするには以下のようにbaseで実行します.

conda update -n base -c conda-forge conda
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?