4 ms·
I use Ubuntu via WSL2 when WFH (i.e. always, at the moment). I've ran into lots of issues trying to use snaps (e.g. for ccls) in WSL, because of the lack of sys
by clappski 6y ago
I use Ubuntu via WSL2 when WFH (i.e. always, at the moment). I've ran into lots of issues trying to use snaps (e.g. for ccls) in WSL, because of the lack of systemd as PID 1.
Does anyone know a robust way to get snapd running properly in WSL2? I would prefer to use whatever package there is than compiling everything that isn't packaged as .deb myself. In the case of ccls it's particularly annoying because I had to install the whole clang toolchain just to build it (which isn't typically on my dev machines, because the work I do is GCC-based).
- simosx 6y agoThere are guides for this at https://discourse.ubuntu.com/c/wsl2 https://discourse.ubuntu.com/c/wsl2 That's the place where you can find any working solutions for WSL2 and Ubuntu.