Commit c649c159 authored by Johannes Pfeifer 's avatar Johannes Pfeifer

Add Windows subsystem for Linux to README

parent 7c5a1d85
......@@ -52,6 +52,7 @@ at the MATLAB prompt: if it returns `PCWIN`, then you have a 32-bit MATLAB; if i
1. [**Debian or Ubuntu**](#debian-or-ubuntu)
1. [**Fedora**](#fedora)
1. [**Windows**](#windows)
1. [**Windows Subsystem for Linux**](#windows-subsystem-for-linux)
1. [**Mac OS X**](#mac-os-x)
## General Instructions
......@@ -144,6 +145,10 @@ The testsuites can be run with:
make check
Note that running the testsuite with Octave requires the additional packages
`pstoedit`, `epstool`, `xfig`, and `gnuplot`.
## Debian or Ubuntu
All the prerequisites are packaged.
......@@ -203,6 +208,29 @@ Alternatively, if you want to build everything, manually install the following p
We no longer support compilation on Windows. To use the unstable version of Dynare on a Windows system, please download it from the [Dynare website](
## Windows Subsystem for Linux
Dynare can also be compiled from source for the Windows Subsystem for Linux (WSL). The WSL offers Windows 10 Anniversary Update users easy access to a Linux environment. To install the WSL, see
To install most of the build dependencies, make sure that the local `rootfs/etc/apt/sources.list` contains
deb-src trusty main restricted universe multiverse
deb-src trusty-updates main restricted universe multiverse
deb-src trusty-security main restricted universe multiverse
in addition to the regular ```deb``` entries.
NB: you cannot edit this file from Windows as this will make the file unreadable for the WSL (rendering WSL unable to detect any package). Therefore, use any Linux editor of your choice.
After that, run
apt update
apt-get build-dep dynare
If you are building the unstable version, you might also need to install other packages required, e.g
```apt-get install texlive-fonts-extra```
NB: it might be necessary to preface your calls by ```sudo``` in case you do not have root access with the current user
After this, prepare the source and configure the build tree as described for Linux above.
## Mac OS X
- Install the Xcode Command Line Tools:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment