Differences between revisions 9 and 24 (spanning 15 versions)
Revision 9 as of 2018-07-11 14:03:58
Size: 2191
Comment: fix grammar
Revision 24 as of 2021-10-31 17:44:16
Size: 3321
Editor: ?RobertHaist
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
[[https://blogs.msdn.microsoft.com/commandline/2018/03/06/debian-gnulinux-for-wsl-now-available-in-the-windows-store/|As of March 2018]] Debian GNU/Linux is available for Windows users through the Windows store as an app for the Windows Subsystem for Linux (WSL). [[https://blogs.msdn.microsoft.com/commandline/2018/03/06/debian-gnulinux-for-wsl-now-available-in-the-windows-store/|As of March 2018]] Debian is available for Windows users through the Windows store as an app for the Windows Subsystem for Linux (WSL).
Line 7: Line 7:
The app gives you a Debian stable command line environment running on the Windows kernel. Most of the packages in Debian stable should "just work".

Any software relying on systemd or low-level hardware accessibility might fail due to missing support from the current Windows kernel interface.

As WSL is a pretty new project from Microsoft improvement can be expected to happen with every new Windows 10 stable channel release (approx. every 6 months).

The app launcher will be updated for stable release features respectively.
The app gives you a Debian stable command line environment running on the Windows kernel (WSL1) or Hyper-V with the new [[https://docs.microsoft.com/en-us/windows/wsl/wsl2-install|WSL2]] interface depending on your Windows 10 release version.
Most of the packages in Debian stable should "just work".
Line 19: Line 14:
Afterward just install the "Debian GNU/Linux" app from the store. Afterwards just install the [[https://www.microsoft.com/en-us/p/debian/9msvkqc78pk6|Debian]] app from the Microsoft Store.
Line 21: Line 16:
You will be asked to define a linux user and password upon first start. This user will also be given sudo rights. You will be asked to define a user and password upon first start. This user will also be given sudo rights.
Line 23: Line 18:
There is a way to install WSL distro offline & without using Microsoft Market. Unfortunately Microsoft hasn't published URL for Debian installer. Ubuntu URL has been published officially: There is a way to [[https://docs.microsoft.com/en-us/windows/wsl/install-on-server|install the Debian WSL distro offline]] & without using Microsoft Market.
Line 25: Line 20:
* https://docs.microsoft.com/en-us/windows/wsl/install-on-server
* https://blogs.msdn.microsoft.com/commandline/2018/05/15/build-2018-recap/
Further information about the ongoing development of WSL can be found in the [[https://blogs.msdn.microsoft.com/commandline/tag/wsl/|WSL tag]] of the Microsoft blog.
Line 28: Line 22:
Request for Debian URL is tracked under (please upvote!): https://github.com/MicrosoftDocs/WSL/issues/174 == Advanced Usage ==

To activate the new [[https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps|GUI application support]] you have to update your WSL2 environment to Debian testing (https://wiki.debian.org/DebianTesting).

After that you need to install `mesa-utils` this will install all the necessary packages for th GUI app support to work.

Most of the GUI apps in Debian should now just work out-of-the-box (e.g., try firefox).
Line 32: Line 32:
Please use the Windows store review/feedback to report bugs or wishes for now. This wiki page will be updated with a FAQ if repeated help is necessary. Please use the Microsoft Store review/feedback to report bugs or feature requests for now.
Line 36: Line 36:
You can also leave patches and issues at the [[https://salsa.debian.org/Debian/WSL|WSL repo on Salsa]].

== Known Issues ==

Any software relying on systemd or low-level hardware accessibility might fail due to missing support from the current Windows kernel or virtualization interface.
As WSL is a pretty new project from Microsoft improvement can be expected to happen with every new Windows stable channel release (approx. every 6 months).
The app launcher will be updated to support stable release features continuously.

=== FAQ ===

 How do I keep my Debian environment up-to-date :: as with any other Debian installation use apt/apt-get to install and update software from the official Debian mirrors (e.g., `apt update && apt dist-upgrade`)

 How do I install a newer release? :: You can install the app, change your sources.list and upgrade your install as with every other Debian installation.

 How many people are using Debian via WSL? :: Approximately 1,021,740 at last count (unique installs according to the Microsoft Partner Center dashboard).
Line 38: Line 54:
The app code will reside in salsa and be accessible for every DD/DM:

https://salsa.debian.org/rhaist-guest/WSL

You can also leave known issues there.
The full app code and all build dependencies can be found in the [[https://salsa.debian.org/Debian/WSL|WSL repo on salsa]].

About

As of March 2018 Debian is available for Windows users through the Windows store as an app for the Windows Subsystem for Linux (WSL).

The app gives you a Debian stable command line environment running on the Windows kernel (WSL1) or Hyper-V with the new WSL2 interface depending on your Windows 10 release version. Most of the packages in Debian stable should "just work".

Install

To use the store app you have to enable the WSL subsystem first by following the guide.

Afterwards just install the Debian app from the Microsoft Store.

You will be asked to define a user and password upon first start. This user will also be given sudo rights.

There is a way to install the Debian WSL distro offline & without using Microsoft Market.

Further information about the ongoing development of WSL can be found in the WSL tag of the Microsoft blog.

Advanced Usage

To activate the new GUI application support you have to update your WSL2 environment to Debian testing (https://wiki.debian.org/DebianTesting).

After that you need to install mesa-utils this will install all the necessary packages for th GUI app support to work.

Most of the GUI apps in Debian should now just work out-of-the-box (e.g., try firefox).

Feedback

Please use the Microsoft Store review/feedback to report bugs or feature requests for now.

There is a IRC channel on OFTC to discuss WSL related stuff: #debian-wsl

You can also leave patches and issues at the WSL repo on Salsa.

Known Issues

Any software relying on systemd or low-level hardware accessibility might fail due to missing support from the current Windows kernel or virtualization interface. As WSL is a pretty new project from Microsoft improvement can be expected to happen with every new Windows stable channel release (approx. every 6 months). The app launcher will be updated to support stable release features continuously.

FAQ

How do I keep my Debian environment up-to-date

as with any other Debian installation use apt/apt-get to install and update software from the official Debian mirrors (e.g., apt update && apt dist-upgrade)

How do I install a newer release?
You can install the app, change your sources.list and upgrade your install as with every other Debian installation.
How many people are using Debian via WSL?
Approximately 1,021,740 at last count (unique installs according to the Microsoft Partner Center dashboard).

Code & Issues

The full app code and all build dependencies can be found in the WSL repo on salsa.