install debian username : greg password : qoffee48 first run : sudo apt-get update sudo apt-get install vim sudo apt-get install xterm sudo apt-get install gcc make perl sudo apt-get install xfstt xfonts-100dpi xfonts-75dpi sudo apt-get install imagemagick sudo apt-get install gnuplot-x11 sudo apt-get install python3-tk sudo apt-get install tk export DISPLAY=:0.0 xterm ./convert3.py sudo apt-get install libgtkmm-3.0-dev libgtkmm-2.4-dev cd cwork g++ -std=c++11 helloworld.cc main.cc `pkg-config gtkmm-3.0 --cflags --libs` sudo apt-get install maxima xmaxima octave octave-signal octave-symbolic --- maxima plot2d(sin(x), [x, 0, 8]); * ********************************* * Strange lib error and fix ????? * ********************************* greg@gcwarwar-w:~/octave$ octave /usr/lib/x86_64-linux-gnu/octave/4.4.1/exec/x86_64-pc-linux-gnu/octave-gui: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory sudo apt-get install qt5-default (didn't help) greg@gcwarwar-w:~/octave$ sudo cp /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3.orig greg@gcwarwar-w:~/octave$ sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3 greg@gcwarwar-w:~/octave$ diff /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3.orig Binary files /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3 and /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.3.orig differ greg@gcwarwar-w:~/octave$ octave (now it works) * ********************************* for octave, need to use graphics_toolkit('fltk') running graphics_toolkit shows that it is set to 'qt' by default greg@gcwarwar-w:~$ cat .octaverc % This File : ~/.octaverc graphics_toolkit('fltk') * ********************************* * ****************************************************************************** * Info on calling windows from wsl (as long as you're in a window directory, cmd.exe /c starts where you are) https://docs.microsoft.com/en-us/windows/wsl/interop#:~:text=WSL%20can%20run%20Windows%20tools,way%20have%20the%20following%20properties%3A&text=Appear%20in%20the%20Windows%20Task,executed%20from%20the%20CMD%20prompt. * ****************************************************************************** For some reason I have a hard limit on the size in all the WSL flavors ulimit -H -a --> show hard limits ulimit -S -a --> show soft limits In a normal linux distro, the hard limit for the stack is "unlimited" For some reason in WSL, the hard limit is 8192 This causes a warning with running Vivado For some reason when I simply do su - greg I now get a proper value of "unlimited" for the stack size