User Tools

Site Tools


windows_subsystem_for_linux_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows_subsystem_for_linux_setup [2024/06/27 05:23] tkbletscwindows_subsystem_for_linux_setup [2024/12/22 19:54] (current) tkbletsc
Line 5: Line 5:
 ===== Enabling WSL ===== ===== Enabling WSL =====
  
-First, to enable WSL at all ([[https://docs.microsoft.com/en-us/windows/wsl/install-win10|from here]]), in adminstrator powershell:+First, to enable WSL at all, in adminstrator powershell: 
 <code> <code>
- +wsl --install
-Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux+
  
 </code> </code>
  
-Then, it still being Windows, you have to restart.+Then, it still being Windows, you have to restart. If it hangs or is weird, restart and try again. If it is then weird in a new way, restart, and try again.
  
 ===== Installing distro ===== ===== Installing distro =====
  
-Windows Store is a garbage zoneHere's the spell for skipping that part ([[https://docs.microsoft.com/en-us/windows/wsl/install-manual|from here]]). Just download this URL and double click what you get:+To get Ubuntu 24.04:
  
-[[https://aka.ms/wsl-ubuntu-1804|https://aka.ms/wsl-ubuntu-1804]]+<code> 
 +wsl --install ubuntu-24.04
  
-[[https://aka.ms/wslubuntu2004|https://aka.ms/wslubuntu2004]]+</code>
  
-[[https://aka.ms/wslubuntu2204|https://aka.ms/wslubuntu2204]]+To see other distros:
  
-Other URLs exist for other distros; you're on your own for that.+<code> 
 +wsl --list --online
  
 +</code>
 ===== Making it Launchy-launchable ===== ===== Making it Launchy-launchable =====
  
Line 35: Line 38:
  
 The default package set is actually not bad. But this will update and install what's missing: The default package set is actually not bad. But this will update and install what's missing:
-<code> 
  
 +<code>
 sudo apt update sudo apt update
 sudo apt dist-upgrade sudo apt dist-upgrade
Line 100: Line 103:
  
 <code> <code>
-C:\ on /mnt/c type drvfs (rw,noatime,**uid=1000,gid=1000**,case=off)+C:\ on /mnt/c type drvfs (rw,noatime,uid=1000,gid=1000,case=off)
  
 </code> </code>
Line 107: Line 110:
  
 <code> <code>
-C:\ on /mnt/c type drvfs (rw,noatime,**uid=0,gid=0**,case=off)+C:\ on /mnt/c type drvfs (rw,noatime,uid=0,gid=0,case=off)
  
 </code> </code>
Line 118: Line 121:
  
 </code> </code>
 +
 ===== Script to mount *all* drives ===== ===== Script to mount *all* drives =====
  
windows_subsystem_for_linux_setup.1719490993.txt.gz · Last modified: 2024/06/27 05:23 by tkbletsc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki