I usually use Ubuntu desktop for my development environment, and sometimes (or often) think about the possibility to use WSL(Windows Subsystem for Linux) for that.
I’d installed WSL Ubuntu in my Windows10 PC, and occasionally found there is WLinux in place of it.
What is WLinux
The official page says:
A Linux distro optimized for WSL based on Debian.
Okay, but I doubt it unless I try to use it.
I bought this distro from Microsoft Store (currently 51% discount!) and have tried it a little.
What I found about WLinux
- terminal bug
wsl-setupcommand is useful for light use
- can use
aptto install packages (have some troubles)
Unlike Ubuntu on WSL, it includes terminal app but this has some bugs like this.
The issue was like following:
- Set the font setting as Consolas, for example. (Default font is MS Gothic)
- Start new tmux session or run vim
- The font setting is reset and becomes MS Gothic. (Sucks)
And I found you can avoid this like the below workaround:
- Start new tmux session first.
- then change the font setting.
- Whenever you open a new tmux window or start vim, the font setting is unchanged.
With using this command, you can easily setup your development environment,
- Install your favorite editor: neovim, emacs, vscode
- Install the dependencies for your favorite programming languages: ruby, go, node, etc.
Internally, this runs
apt command, so you can also do this by yourself (and I did).
I normally use anyenv to install and manage programming language and its versions.
In this distro, I also do the same thing and install
ndenv, then run each, both works well!
apt can be used like debian distro
WLinux is based on Debian, and you can use
apt command to install packages.
But some packages are very old like
hugo and I used other installation way for that.
snap is not installed
I introduced snap command the past post. This command is not installed in this distro.
You have to install this through
apt. But I cannot install it with
apt install snapd due to dependencies error.
I explained what I found about WLinux in this post.
I recommend Ubuntu rather than WLinux currently because of some troubles.
But I will still use this distro and hope this would be more famouse and more useful one for WSL.