Windows software installation
These are instructions for how to install software and data used on the course Computational Molecular Evolution (22115) when using the Windows operating system.
Install Windows Subsystem for Linux + Ubuntu
- Follow this youtube guide to install WSL2 (Windows Subsystem for Linux 2) and the Ubuntu Linux distribution.
- One common issue is that you need to enable "Virtual Machine Platform" on Windows. Check the linked Powerpoint presentation for more details on how to do that:
R + RStudio: install version for Windows instead of Linux
- Instead of installing the Linux version of R and RStudio, you should install the Windows versions:
- NOTE: this means you will have to access files on the Linux file system from the Windows file system.
- Your Linux files should be accessible at a file path similar to this:
\\wsl$\Ubuntu\home\user\whatever - Also see: https://devblogs.microsoft.com/commandline/whats-new-for-wsl-in-windows-10-version-1903/
- Your Linux files should be accessible at a file path similar to this:
Install Linux Software
- Start Ubuntu in your Windows Terminal
- Follow instructions for Linux:
Using Linux programs with a graphical user interface
- If you are on windows-11 and have installed the most up-to-date version of WSL2 then you should be able to run GUI programs on linux and get the graphical window shown on Windows (this includes for instance aliview and figtree).
- If you are not sure whether you are up to date, you can run these commands to ensure you have the newest version of WSL:
wsl --update wsl --shutdown
- Also, make sure you have no commands in your .bashrc file attempting to set the DISPLAY environment variable (this environment variable controls which screen to try to show the GUI on, and should be set automatically. If your .bashrc file contains any lines similar to ´export DISPLAY=localhost:0.0' then you should delete it, save, and restart your terminal.