{"id":215,"date":"2018-10-17T06:03:26","date_gmt":"2018-10-17T06:03:26","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/best-ways-to-install-ubuntu-on-windows-10\/"},"modified":"2018-10-17T06:03:26","modified_gmt":"2018-10-17T06:03:26","slug":"best-ways-to-install-ubuntu-on-windows-10","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/best-ways-to-install-ubuntu-on-windows-10\/","title":{"rendered":"Best Ways to Install Ubuntu on Windows 10"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"install ubuntu windows 10\" height=\"341\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/install-ubuntu-windows-10.png\" width=\"713\" \/><\/p>\n<p>Windows Subsystem for Linux (WSL) allows users to run GNU\/Linux environment directly on Windows. This tutorial will show you how to run Ubuntu in your windows 10 environment.<\/p>\n<p>This installation includes the utilization of some command-line tools, utilities, and applications.<\/p>\n<h3>Enable Windows Subsystem Linux (WSL) in Windows 10<\/h3>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/faq\" target=\"_blank\">Windows Subsystem for Linux<\/a> is available on the desktop version of Windows for Windows 10 Anniversary (Redstone1 &#8211; 1607) and Creators update (Redstone2 &#8211; 1703) or later. Check the version of your Windows by Settings -&gt; System -&gt; About<\/p>\n<p>This article is based on Windows 10 Fall Creator (Redstone3 &#8211; 1709).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"200\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/01-wsl-about.png\" width=\"670\" \/><\/p>\n<p>To install any Linux distribution for WSL, you must enable the feature &#8220;Windows Subsystem for Linux&#8221;. Open your PowerShell as an administrator<\/p>\n<p>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"192\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/02-wsl-install.png\" width=\"903\" \/><\/p>\n<p>After you will be prompted to restart<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"372\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/03-wsl-install-ok.png\" width=\"898\" \/><\/p>\n<h2>1) Install Ubuntu on Windows 10<\/h2>\n<p>To install Ubuntu you will need to go through the windows store application. Launch the research of Ubuntu<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"486\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/04-wsl-ubuntu-research.png\" width=\"835\" \/><\/p>\n<p>We will install Ubuntu 18.04<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"522\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/06-wsl-ubuntu-install3.png\" width=\"786\" \/><\/p>\n<h2>2) Run Ubuntu on Windows 10<\/h2>\n<p>Now that your download is finished, you can run your Linux subsystem by clicking the <em>launch<\/em> button in the Windows Store through the <em>Windows start menu. <\/em>A new terminal will be launched asking to provide a username and password for your new system<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"265\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/07-wsl-run-ubuntu.png\" width=\"837\" \/><\/p>\n<p>You can use your Ubuntu commands<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"330\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/08-wsl-ubuntu-commands.png\" width=\"937\" \/><\/p>\n<p>It means that you can normally update the repo cache<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"230\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/09-wsl-ubuntu-update-cmd.png\" width=\"628\" \/><\/p>\n<h2>3) Run some graphics application<\/h2>\n<p>This article will not try to explain how to have a full GUI compatibility with WSL. You must keep in mind that by default you are not able to run any application which can need graphics interface such as gedit. First install gedit, now if you try to run the gedit command, you will have some errors as below<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"88\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/10-wsl-ubuntu-gedit-error.png\" width=\"587\" \/><\/p>\n<p>You will need to install an X11 display server for Microsoft OS on your Windows 10 in order to use some small graphics applications which don&#8217;t require a high system capacity. In our case, we will use <a href=\"http:\/\/www.straightrunning.com\/XmingNotes\/\" target=\"_blank\">Xming<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"385\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/10-wsl-xming-install.png\" width=\"497\" \/><\/p>\n<p>After the installation make sure to allow Xming to the firewall<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"374\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/11-wsl-xming-firewall.png\" width=\"524\" \/><\/p>\n<p>Now we need to run some command on your Ubuntu terminal to point any GUI activity at the correct display<\/p>\n<p>export DISPLAY=:0.0&#xD;<br \/>\necho &#8220;export DISPLAY=:0.0&#8221; &gt;&gt; ~\/.bashrc<\/p>\n<p>Now you can run gedit again, you will see that it will work this time<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"477\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/12-wsl-ubuntu-gedit-ok.png\" width=\"678\" \/><\/p>\n<p>You can install firefox<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"165\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/13-wsl-ubuntu-firefox-install.png\" width=\"936\" \/><\/p>\n<p>Then try. You can see that it works.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"668\" src=\"https:\/\/linoxide.com\/wp-content\/uploads\/2018\/10\/14-wsl-ubuntu-firefox-ok.jpg\" width=\"1053\" \/><\/p>\n<p>Now you have a working Ubuntu 18.04 which allow you to run small Linux graphics apps on your Windows 10 system. The Windows Subsystem Linux also proposes some others Linux systems such as Debian, Kali, OpenSuse etc. You can enjoy your new system once installed.<\/p>\n<h3>Read Also:<\/h3>\n<ul>\n<li><a href=\"https:\/\/linoxide.com\/distros\/install-lubuntu-dual-boot-windows\/\" target=\"_blank\">How to Install Lubuntu 18.04 Dual Boot with Windows 10<\/a><\/li>\n<li><a href=\"https:\/\/linoxide.com\/distros\/install-ubuntu-18-04-dual-boot-windows-10\/\" target=\"_blank\">How to Install Ubuntu 18.04 Dual Boot with Windows 10<\/a><\/li>\n<li><a href=\"https:\/\/linoxide.com\/distros\/beginners-arch-linux-installation-guide\/\" target=\"_blank\">Beginners Arch Linux Installation Guide<\/a><\/li>\n<\/ul>\n<p> <a href=\"https:\/\/linoxide.com\/distros\/how-install-ubuntu-windows-10\/\" target=\"_blank\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Subsystem for Linux (WSL) allows users to run GNU\/Linux environment directly on Windows. This tutorial will show you how to run Ubuntu in your windows 10 environment. This installation includes the utilization of some command-line tools, utilities, and applications. Enable Windows Subsystem Linux (WSL) in Windows 10 Windows Subsystem for Linux is available on &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/best-ways-to-install-ubuntu-on-windows-10\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Best Ways to Install Ubuntu on Windows 10&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":0,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}