[gradsusr] Running GrADS in Windows (10 x64) - IS POSSIBLE! (without OpenGrads) - second try
Netanel_H
netanel at gmx.com
Tue Feb 12 15:50:50 EST 2019
Another try because first came as HTML
Hello everybody,
I just successfully tested WSL (Windows Subsystem for Linux)
https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux
for running GrADS and it's working!
Short explanation:
1) Install WSL from windows features (reboot)
2) Install linux distribution from Windows Store or manual install from
links here -
https://docs.microsoft.com/en-us/windows/wsl/install-manual
(I tested it in Debian)
3) open wsl.exe (search from it), in Debian it asks to choose
username/password for the new subsystem
4) In the new terminal run: sudo apt-get install grads (asks for the
password from the previous stage)
(this command is only for debian/ubuntu, other distributions have others
command for software packages)
5) install VcXsrv from here -
https://sourceforge.net/projects/vcxsrv/
6) Run VcXsrv wizard (XLaunch)
7) In Linux terminal type: nano ~/.bashrc
8) Add this 2 lines at the end of file:
DISPLAY=:0.0
export DISPLAY
9) Ctrl+x and answer y (+Enter) for saving modified file
10) Close Linux Subsystem and open it again
11) type in terminal: grads
If everything went well, GrADS window will be open
note: in Linux Subsystem Windows C volume is mounted as /mnt/c, D as
/mnt/d etc. That is the easy way to pass files between Windows and Linux
Subsystem
Enjoy!
More information about the gradsusr
mailing list