windows_subsystem_for_linux_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| windows_subsystem_for_linux_setup [2024/06/27 05:23] – tkbletsc | windows_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:// | + | First, to enable WSL at all, in adminstrator powershell: |
| < | < | ||
| - | + | wsl --install | |
| - | Enable-WindowsOptionalFeature | + | |
| </ | </ | ||
| - | 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 zone. Here's the spell for skipping that part ([[https:// | + | To get Ubuntu 24.04: |
| - | [[https:// | + | < |
| + | wsl --install | ||
| - | [[https:// | + | </code> |
| - | [[https:// | + | To see other distros: |
| - | Other URLs exist for other distros; you're on your own for that. | + | < |
| + | wsl --list --online | ||
| + | </ | ||
| ===== 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: | ||
| - | < | ||
| + | < | ||
| sudo apt update | sudo apt update | ||
| sudo apt dist-upgrade | sudo apt dist-upgrade | ||
| Line 100: | Line 103: | ||
| < | < | ||
| - | C:\ on /mnt/c type drvfs (rw, | + | C:\ on /mnt/c type drvfs (rw, |
| </ | </ | ||
| Line 107: | Line 110: | ||
| < | < | ||
| - | C:\ on /mnt/c type drvfs (rw, | + | C:\ on /mnt/c type drvfs (rw, |
| </ | </ | ||
| Line 118: | Line 121: | ||
| </ | </ | ||
| + | |||
| ===== Script to mount *all* drives ===== | ===== Script to mount *all* drives ===== | ||
windows_subsystem_for_linux_setup.1719490993.txt.gz · Last modified: by tkbletsc
