WSL installation
Last updated
Was this helpful?
To install Conda in WSL (Windows Subsystem for Linux), you can follow these steps:
You can find Ubunto(WSL) in Microsoft store
You can choose to install either Miniconda (a minimal installer for Conda) or Anaconda (a larger distribution including many scientific packages).
Install Anaconda
Open your WSL terminal.
Download the Anaconda installer script using wget or curl:
wget https://repo.anaconda.com/archive/Anaconda3-latest-Linux-x86_64.shRun the installer script:
bash Anaconda3-latest-Linux-x86_64.shFollow the prompts during the installation. Accept the license agreement, specify the installation path (default is usually fine), and choose whether to initialize Anaconda.
Initialize Conda (if not done during installation):
source ~/anaconda3/bin/activateUpdate Conda to the latest version:
conda update condaClose and reopen your WSL terminal or run the following command to activate Conda:
Verify that Conda is installed and working correctly:
You should see the Conda version printed in the terminal, indicating that Conda has been successfully installed.
By following these steps, you will have Conda installed and ready to use in your WSL environment.
Last updated
Was this helpful?
Was this helpful?
source ~/.bashrcconda --version