These setup instructions are for setting up Ubuntu on the “Fall
Creators Update” (FCU) version of Windows 10, known as the Windows
Subsystem for Linux (WSL). This FCU was released in Windows version
1709 around October, 2017.

See this “What’s New” page
for more information about the Windows updates since their earlier
beta version of having Ubuntu. Mainly, the present installation is a
lot easier now. Yippee.

The user must have admin privileges (can run sudo...).
Some steps require an internet connection.

Now and forever,first doubleclick on the VcXsrv icon on your
Desktop, and then start Ubuntu, for example by typing “ubuntu”
in the Windows search bar. (Sorry, not our design!)

To enable copy+paste ability in Ubuntu terminal, right-click on
the toolbar at the top of the Ubuntu terminal, and select
“Properties”; in the Options tab, make sure the box next to
“QuickEdit Mode” is selected.

You can then paste into a terminal by either right-clicking or
hitting the “Enter” key. (To “copy” text that is in the
terminal, just highlight it, and then you should be able to
right-click to paste; to “copy” text from outside the terminal,
you probably need to highlight it and hit “Ctrl+c”.)

The default profile “use colors from system theme” shows an
all-black terminal. To fix this:

Go to the terminal’s menu bar,

Select the Edit tab, then Profile,

Turn off “use colors ...”, and just pick a scheme+palette
that you like.

Note:

In gnome-terminal, things are similar to other Linux
implementations. The middle button pastes whatever is
highlighted in the WSL terminal or other gnome-terminal:
shift-ctrl-c copies, and shift-ctrl-v also pastes.

Purpose: Download the Bootcamp class data; untar+unzip it (= open
it up); move into the newly opened directory; execute a script to copy
the files to $HOME/..

If no errors occur in the above, and your afni_system_check.py
says things are OK, you can delete/remove the tarred/zipped package,
using “rmCD.tgz”. If you are really confident, you can also
deleted the CD/ directory in the present location.

Purpose: The first commands set up tab autocompletion for
tcsh (which should already be enabled for bash, by
default). The second set of commands make aliases so that different
types of files (“normal” files, zipped files, executables, et al.)
and directories are shown using different colors and boldness. It
makes it much easier to navigate on a terminal, IMHO.