注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Talk:Windows Subsystem for Linux"
Jump to navigation
Jump to search
(→using scoop to fetch 7z git etc in powershell.: new section) |
m (shift to ps terminal) |
||
Line 26: | Line 26: | ||
*working example of code shift: | *working example of code shift: | ||
{{console|body= | {{console|body= | ||
%PowerShell>% .\scoop\apps\7zip\current\7z.exe x stage3.tar.xz | |||
}} | }} |
Revision as of 15:06, January 25, 2024
https://docs.microsoft.com/en-us/windows/wsl/wsl-config
- copy debian kernel to windows system:
cp /boot/kernel-debian-sources-x86_64-6.4.13_p1-r1 /mnt/c/Users/*your user name*/
- gwsl in the microsoft store can run graphical applications that are installed.
Xming uses ssh x11 forwarding to render x11 under windows:
Bind USB to WSL
to attach usb devices to wsl you need to add usbipd.
root # emerge usbip
using scoop to fetch 7z git etc in powershell.
i propose that we use https://scoop.sh/ package management for windows in our WSL tutorial. it cleans things up, and reduces hunting for packages on the web. it's basically apt/text synaptic for windows powershell in windows mode.
- working example of code shift:
PowerShell> # .\scoop\apps\7zip\current\7z.exe x stage3.tar.xz