Linux on windows 10
Step 1 : Get Linux from microsoft.
Microsoft is supporting linux on windows 10 (64bit only). Use the the following guide to install linux (AKA "bash") on windows 10 :
Choose Ubuntu when (and if) you are asked. At the step entitled "Create a UNIX user" choose (i) a simple username (no Greek letters, no spaces, no special characters, no upper-case letters, just a plain/simple user name like 'babis' or 'toula'), and, (ii) a password that you can remember (further steps below will fail if you don't have your unix password).
Step 2 : Install a graphics environment and fonts for Linux.
Install a graphics environment for Linux by downloading and installing the following program :
Also install some additional fonts by running this installer :
(select all available fonts when prompted).
Step 3 : Install some extra Linux programs.
Open a linux window (search for 'bash') and verify that copy-paste is enabled as follows : Right-click on the window's title bar -> Properties ->
Options tab -> Edit options -> enable
QuickEdit Mode and enable
Insert mode. Since you are here, change the font size to your liking.
Now copy-paste (and then press ENTER) the following two lines exactly as you see them (for pasting in the terminal use right-mouse-click):
Give your linux password whenever asked and watch incomprehensible lines being printed in the unix terminal. Wait until it finishes (you will see an 'All done' message printed on the screen).
Close the terminal.
Step 4 : Test that everything works.
Make sure the terminal is closed.
Start (double click) the
Xming program you downloaded previously.
Xming will run in the background, don't expect to see things happening.
Start the terminal (also known as 'unix shell'). You should see something like this :
Check that various programs work. Type the following in the unix shell :
Play around with B-DNA if you want, then close rasmol.
Check that a plotting program works :
plot < numerical.dat
Click on the graphics window to make it active, press the
D key, then the
F key, the
S key (to filter/smooth the data) and finally the
Q key to quit.
Click on the terminal window to make it active again.
Confirm that the programming environment (perl and C) work :
You should see the names of two files containing a program in C (test.c) and a program in perl (test.pl). Check that the editor works :
Use 'View' -> 'Color Scheme' -> 'Cobalt' to enable coloring the code. Increase the font size from 'View' -> 'Select font' -> size '13' (or anything you like). You should see something like this :
Close the editor (File -> Close window), click the unix shell to make it active again, and test the C compiler :
gcc test.c -lm
./a.out | plot -cc
Make the graphics window active, and then press the
N keys. Press the
Q key to quit.
Finally, test that perl works :
and press ENTER to return to the shell.
Step 5 : Normal everyday use of the unix shell
Place the icons for the
Xming programs on the taskbar or the desktop. For normal everyday
use you just double-click first on
Xming and then on
bash and you should be set and ready-to-go.