{"id":2815,"date":"2018-03-26T09:40:48","date_gmt":"2018-03-26T17:40:48","guid":{"rendered":"http:\/\/blogs.msdn.microsoft.com\/commandline\/?p=2815"},"modified":"2019-02-25T19:46:10","modified_gmt":"2019-02-26T03:46:10","slug":"wsl-distro-launcher","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/wsl-distro-launcher\/","title":{"rendered":"Open Sourcing a WSL Sample for Linux Distribution Maintainers and Sideloading Custom Linux Distributions"},"content":{"rendered":"<p>We are happy to announce that we have open sourced a WSL (Windows Subsystem for Linux) sample \u00a0for Linux distribution maintainers.\u00a0 This sample allows distro maintainers to build WSL distro packages for the Microsoft Store and developers to create custom Linux distro packages for sideloading.\u00a0 You can find the <a href=\"https:\/\/github.com\/Microsoft\/WSL-DistroLauncher\">distro launcher repo<\/a> on GitHub.<\/p>\n<p>This project enables:<\/p>\n<ul>\n<li>Linux distribution maintainers to package and submit a Linux distribution as an appx that runs on WSL<\/li>\n<li>Developers to create custom Linux distributions that can be sideloaded onto their dev machine<\/li>\n<\/ul>\n<p>We know that many Linux distros rely entirely on open source software, so we would like to bring WSL closer to the OSS community. We hope open sourcing this project will help increase community engagement and bring more of your favorite distros to the Microsoft Store.<\/p>\n<p>First, a little background on how we distribute Linux distros for WSL. We distribute Linux distros for WSL as <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/get-started\/whats-a-uwp\">UWP applications<\/a> through the Microsoft Store. You can install those applications that will then run on WSL &#8211; the subsystem that sits in the Windows kernel. This delivery mechanism has many benefits as discussed in an <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/ubuntu-now-available-from-the-windows-store\/\">earlier blog post<\/a>.<\/p>\n<h2><span style=\"color: #2f5496;font-family: Calibri Light;font-size: large\">Sideloading a Custom Linux Distro Package<\/span><\/h2>\n<p><span style=\"color: #000000;font-family: Calibri\">You can create a custom Linux distro package as an application to sideload on your personal machine. Please note that your custom package would not be distributed through the Microsoft Store unless you submit as a distribution maintainer.<\/span><\/p>\n<p><span style=\"font-family: Calibri\"><span style=\"color: #000000\">To set up your machine to sideload apps, you will need to enable this in the system settings under \u201c<\/span><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/get-started\/enable-your-device-for-development\">For Developers<\/a><\/span><span style=\"color: #000000;font-family: Calibri\">\u201d.<span>\u00a0 <\/span>Be sure to either have developer mode, or sideload apps selected<\/span><\/p>\n<p><span style=\"color: #2f5496;font-family: Calibri Light;font-size: large\">For Linux Distro Maintainers<\/span><\/p>\n<p><span style=\"color: #000000;font-family: Calibri\">To submit to the Store, you will need to work with us to receive publishing approval. If you are a Linux distribution owner interested in adding your distribution to the Microsoft Store, please contact wslpartners@microsoft.com.<\/span><\/p>\n<p><span style=\"color: #2f5496;font-family: Calibri Light;font-size: large\">Thanks &amp; Feedback<\/span><\/p>\n<p><span style=\"font-family: Calibri\"><span style=\"color: #000000\">A big thanks to our Linux partners for helping provide feedback on the sample. Please visit the <\/span><a href=\"https:\/\/github.com\/Microsoft\/WSL-DistroLauncher\">Distro Launcher repo<\/a><\/span><span style=\"color: #000000;font-family: Calibri\"> to start creating distro packages for WSL. We hope you can use this sample to create custom Linux distros for more of your WSL needs!<\/span><\/p>\n<p><span style=\"font-family: Calibri\"><span style=\"color: #000000\">Be sure to let us know how you use the Distro Launcher for WSL by submitting issues on our\u00a0<\/span><a href=\"https:\/\/github.com\/Microsoft\/WSL-DistroLauncher\">sample GitHub repo<\/a><\/span><span style=\"color: #000000;font-family: Calibri\"> and Tweeting us at #WSL &#8211; @tara_msft and @benhillis.<\/span><\/p>\n<p><span style=\"color: #000000;font-family: Calibri\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce that we have open sourced a WSL (Windows Subsystem for Linux) sample \u00a0for Linux distribution maintainers.\u00a0 This sample allows distro maintainers to build WSL distro packages for the Microsoft Store and developers to create custom Linux distro packages for sideloading.\u00a0 You can find the distro launcher repo on GitHub. This [&hellip;]<\/p>\n","protected":false},"author":1032,"featured_media":4504,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11,3,5,9],"tags":[],"class_list":["post-2815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-distros","category-linux-tools","category-windows-10","category-bash-on-ubuntu-on-windows"],"acf":[],"blog_post_summary":"<p>We are happy to announce that we have open sourced a WSL (Windows Subsystem for Linux) sample \u00a0for Linux distribution maintainers.\u00a0 This sample allows distro maintainers to build WSL distro packages for the Microsoft Store and developers to create custom Linux distro packages for sideloading.\u00a0 You can find the distro launcher repo on GitHub. This [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/2815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/users\/1032"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=2815"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/2815\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/4504"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=2815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=2815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=2815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}