Skip to content

Instantly share code, notes, and snippets.

View smvorwerk's full-sized avatar

Stephen Vorwerk smvorwerk

  • Wilimington, NC
  • 07:24 (UTC -04:00)
View GitHub Profile
@kauffmanes
kauffmanes / install_anaconda.md
Last active May 24, 2024 08:51
Install Anaconda on Windows Subsystem for Linux (WSL)

Thanks everyone for commenting/contributing! I made this in college for a class and I no longer really use the technology. I encourage you all to help each other, but I probably won't be answering questions anymore.

This article is also on my blog: https://emilykauffman.com/blog/install-anaconda-on-wsl

Note: $ denotes the start of a command. Don't actually type this.

Steps to Install Anaconda on Windows Ubuntu Terminal

  1. Install WSL (Ubuntu for Windows - can be found in Windows Store). I recommend the latest version (I'm using 18.04) because there are some bugs they worked out during 14/16 (microsoft/WSL#785)
  2. Go to https://repo.continuum.io/archive to find the list of Anaconda releases
  3. Select the release you want. I have a 64-bit computer, so I chose the latest release ending in x86_64.sh. If I had a 32-bit computer, I'd select the x86.sh version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose `Anaconda3-5.2.0-Li
I found a way to install the ubuntu-netbook-remix-i386.img file into VirtualBox. Here are the steps.
1. Run the command to create a bootable VDI image (without quotes):
“VBoxManage convertfromraw ubuntu-netbook-remix-i386.img ubuntu-netbook-remix-i386-live.vdi”
2. Run the command to create a new empty VDI image where to install the image with 8GB space:
“VBoxManage createhd -filename ubuntu-netbook-remix-i386.vdi -size 8000″
Note: you can use -register option at the end of this command or register this VDI file from the VirtualBox later.
3. Create a new VM using the ubuntu-netbook-remix-i386-live.vdi (use the existing vdi option)
4. Attach the ubuntu-netbook-remix-i386.vdi as a Primary Slave
5. Start the VM (boot)
6. Install