Skip to content

CDAT under windows

Charles Doutriaux edited this page Jun 20, 2017 · 4 revisions

Using CDAT under Windows 10

It is possible to use Linux applications under Windows 10, you need

  • Windows Subsystem for Linux
  • X11 Server

Then you simply use the "bash" command and start your regular conda environment

Step 0: Why would I use WSL rather than Linux in a VM?

WSL requires fewer resources (CPU, memory, and storage) than a full virtualized machine. WSL also allows you to run Linux command-line tools and apps alongside your Windows command-line, desktop and store apps, and to access your Windows files from within Linux. This enables you to use Windows apps and Linux command-line tools on the same set of files if you wish.

source

Step 1: Correct Windows

Make sure you have Windows 10 and that is is up to date.

Step 2: Install the Windows Subsystem for Linux

Follow instructions here

Step 3: Install an X Server

The Windows Subsystem for Linux does not support X11 so we will need to install one on our windows machine

Follow instructions for Step one here

Step 3b: make sure you export your DISPLAY environment variable

every time you start bash!

export DISPLAY=:0.0

Step 4: Update your bash/ubuntu

Start the bash command line and type:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gcc libglu1-mesa mesa-utils libsm6 x11-apps

Step 5: Install Anaconda

You need to download and install the Linux conda

Note that the following install miniconda not the full anaconda

wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda2

Step 6: Install CDAT

Follow Instructions here

Clone this wiki locally