2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ubuntu(WSL2)でAnacondaのインストール

Posted at

環境

  • WSL2
  • Ubuntu-18.04

Anacondaのインストール

ダウンロードURLの取得

Anacondaの公式サイトからLinux 64-Bit (x86) Installerを右クリックしてリンクのアドレスをコピーでURLをコピーする。

インストーラの実行

bashWindows Terminalで操作していく。
ダウンロードフォルダの作成。

$ cd ~
$ mkdir Download
$ cd Download

wget URLでインストーラのダウンロード

$ wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh

bashでインストーラの実行

$ bash Anaconda3-2021.11-Linux-x86_64.sh

Enterを押し続けYesかNoか聞かれたらYesと答える。規約はqでスキップ可能。
コマンドを使用するためにパスを追加

$ echo "export PATH=~/anaconda3/bin:\$PATH" >> ~/.bashrc
$ source ~/.bashrc

condaのバージョン確認

$ conda -V
conda 4.10.3
2
3
1

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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?