WSL Installation(windows)
WSL installation
To install Conda in WSL (Windows Subsystem for Linux), you can follow these steps:
Step 1: Install WSL and Set Up a Linux Distribution
You can find Ubunto(WSL) in Microsoft store
Step 2: Download and Install Miniconda or Anaconda
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
orcurl
:Copy
Run the installer script:
Copy
Follow 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):
Copy
Update Conda to the latest version:
Copy
Step 3: Verify Installation
Close and reopen your WSL terminal or run the following command to activate Conda:
Copy
Verify that Conda is installed and working correctly:
Copy
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?