On figuring out WSL

I just began using the Windows Sub-system for Linux, and …

Ikechi Michael
2 min readMay 3, 2019

While I’m yet to form strong opinions, I believe it shows good promise.

This blog post contains my thoughts right now about my Eureka moments, and struggles with the sub-system.

The GIT Battle

Yesterday, I had the most drawn out battle I have had with GIT in a long, long time. I had naively installed GIT for windows, used VS code to work on my projects, using its Version Control features to commit, checkout, etc.

Every time I checked out, I’d get lots of changes, that would refuse to disappear. In fact, I spent an hour trying to remove changes on one particular file because it wasn’t appearing in the filesystem, yet it appeared in my git status.

In hind-sight, I’ve concluded that programs like GIT that manipulate the File-System extensively shouldn’t work across the two environments yet. I ended up installing GIT on WSL, then following the instructions in this repo, to get it to behave itself.

At least, I think (hope) it behaves itself now.

The Installation Dilemma

Following the GIT battle yesterday, I must be experiencing some form of Post-traumatic Stress Disorder, because now I consider extensively where to install dev packages.

Do I install it in my Ubuntu WSL via apt-get? Or install a Windows Binary as I normally would?

Here I am, a few hours later, choosing the former, installing .NET core on WSL.

I hope it plays out well.

--

--

Ikechi Michael
Ikechi Michael

Written by Ikechi Michael

I’ve learned I don’t know anything. I've also learned that people will pay for what I know. Maybe that's why they never pay.

No responses yet