2022年3月7日 星期一

[python, wsl] How to install Anaconda on Windows Subsystem for Linux (WSL)

How to install Anaconda on Windows Subsystem for Linux (WSL)

井民全, Jing, mqjing@gmail.com

Python Main FAQ: (link)
Public FAQ index: (link)

Installation

Step 1: Select the release version you want.

https://repo.anaconda.com/archive/

E.g.

Step 2: Download the Anaconda

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


E.g.


Step 3: Install Anaconda

Command

bash ./Anaconda3-5.3.1-Linux-x86_64.sh


E.g.


vi ~.bashrc


PATH=~/anaconda3/bin:$PATH


Close the terminal and reopen it to reload .bash configs.


Test

$python



Reference

  1. https://gist.github.com/kauffmanes/5e74916617f9993bc3479f401dfec7da