Its been a few weeks since I’ve played with bash on windows and now that we are close to the Aug release of the “anniversary edition” and the fact that I just got my 2014 yoga 2 pro back from my daughter, I am re-trying the feature.
FWIW Everything seems to work from the ubuntu 14.04 repo’s. The only problem I still have is installing openjdk8 using the ubuntu 15.10 deb files following the source.android.com instructions for setting up a build host. The Java8 seems to get stuck in a loop and I needed to purge the related openjdk8 packages.
Other than Java8 things are looking really great. Note: without Java8 I cannot use this configuration to build Android.
Tmux works!, SSH works, scp works, git works, vim works, irssi works, fetchmail works, mutt works… pretty much all the command line tools I need seem to be good.
I’m even getting used to the power shell cut and paste support. The only gripe I have is the power shell does not support CTL-+ or CTL– to change the font sizes easily.
There where a few configuration and setup items that I will capture as notes below but, I’m liking what MS has done for the developers.
Setting up the windows subsystem for linux (beta) on the new version of Windows.
Setup / configuration notes:
- SSH defaults to looking for id_rsa where I have id_markgross keys on my linux boxes. After copying id_markgross to id_rsa SSH worked as expected for me and the servers I connect too.
- edit the /etc/apt/sources.list file to include deb-src items:
deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
- apt-get setup commands:
- sudo apt-get install vim-gnome tmux cscope ctags vim-doc minicom git-core curl mutt ca-certificates ssmtp msmtp fetchmail procmail ssh sshfs openssl nmap manpages-dev manpages-posix manpages-posix-dev quilt subversion mercurial ipython gcc-avr gcc avr-libc gcc-avr binutils-avr avr-libc avrdude python-numpy python-matplotlib graphviz python-scipy python-numpy-doc python-pip python-virtualenv laptop-mode-tools powertop latencytop libncursesw5-dev gitk rar libav-tools git gnupg flex bison gperf build-essential zip curl libc6-dev g++-multilib mingw32 tofrodos python-markdown irssi irssi-scripts
- sudo apt-get build-dep linux-image-4.4.0-31-generic