On 11/27/2022 11:03 PM, Joel wrote:
> DFS <
nos...@dfs.com> wrote:
>
>>>> Back to WSL: MS has had a POSIX or Unix or [now] Linux environment
>>>> available for Windows for 29 years. So not a gimmick. It's a full
>>>> Linux kernel you can compile yourself if you want.
>>>>
>>>> I think WSL/2 is fairly popular, as there are a good amount of questions
>>>> and answers about it out there. If nothing else, it's fun to play with
>>> >from time to time.
>>>>
>>>> MS has done a good job making WSL easy to use, very speedy, and mostly
>>>> stable.
>>>
>>> I say it's a gimmick because while it could be useful in some specific
>>> situations, it's not really a platform to run Linux apps.
>>
>> Which apps are you referring to?
>
>
> Any -
Give me something specific that's bothering you.
All the Linux stuff I've tested on WSL has run well: python and C code,
PyQt apps, SQLite queries of tables with millions of rows,
You remember how much trouble it is to dual-boot back and forth between
Windows and Linux. Now you probably won't ever have to again.
I think it accomplishes what MS probably was aiming for: keeping devs on
Windows.
> you can do it, but it's a pathetic platform to do so.
It's 100% GuhNoo/Linux, running on an ext4 filesystem in a lightweight
vm. I'm surprised to hear you label it pathetic.
On the kali-linux WSL distro:
$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdd ext4 1007G 41G 915G 5% /
# apt-cache policy coreutils (or sudo dpkg -s coreutils)
Installed: 9.1-1
# apt-cache policy binutils (or sudo dpkg -s binutils)
Installed: 2.39-8
Those are the latest available.
And the kernel is very recent:
$ uname -r
5.15.74.2-microsoft-standard-WSL2
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/
Oct 15 2022
$ gcc -v
Target: x86_64-linux-gnu
gcc version 12.2.0 (Debian 12.2.0-3)
>>> It's too taxing on the hardware to actually use it as such.
>>
>> Why do you say that?
>
>
> I heard my fans going too crazy when WSL was merely running, without
> even doing anything. It's not ready for prime time.
Sure it is. But it's not meant to replace a Linux server, if that's
what you were expecting.
I haven't installed a full-on Linux desktop like xfce4 yet, but I've
seen others that have.
Probably not, if you're hearing excessive fan speed when running a WSL
distro. Win11 is more memory hungry than ever, so I'd recommend 16GB.