{"id":42,"date":"2017-01-16T08:35:52","date_gmt":"2017-01-16T12:35:52","guid":{"rendered":"http:\/\/notebook.chaopricha.com\/?p=42"},"modified":"2017-01-16T12:52:49","modified_gmt":"2017-01-16T16:52:49","slug":"enabling-ubuntu-bash-on-windows","status":"publish","type":"post","link":"https:\/\/notebook.chaopricha.com\/?p=42","title":{"rendered":"Enabling Ubuntu Bash on Windows 10"},"content":{"rendered":"<p>A quick reminder that this feature is only available on Windows 10 (with the latest update). It&#8217;s still a beta feature but the developers have fixed many of the bugs and it&#8217;s pretty stable. \u00a0Hopefully more features will show up in the future to allow us to run more functions closer to the real Ubuntu.<\/p>\n<p>Click the Start button and type in the search &#8220;For Developer Settings&#8221;.<br \/>\nChoose &#8220;Developer mode&#8221;. \u00a0Windows might prompt for a permission. \u00a0Allow it to proceed.<\/p>\n<p><a href=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-43\" src=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings-300x242.png\" alt=\"developer settings\" width=\"300\" height=\"242\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings-300x242.png 300w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings-768x619.png 768w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings-1024x825.png 1024w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings-372x300.png 372w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/developer-settings.png 1045w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Again, click on the Start Button, type into the search &#8220;Turn windows features on or off&#8221;<br \/>\n<a href=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/search-turn-windows-feature-on.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-44\" src=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/search-turn-windows-feature-on-264x300.png\" alt=\"search turn windows feature on\" width=\"264\" height=\"300\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/search-turn-windows-feature-on-264x300.png 264w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/search-turn-windows-feature-on.png 423w\" sizes=\"(max-width: 264px) 100vw, 264px\" \/><\/a><\/p>\n<p>Windows Features screen will show up. \u00a0Scroll down to find &#8220;Windows Subsystem for Linux (Beta)&#8221; option and check it.<\/p>\n<p><a href=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/enable-subsystem.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-45\" src=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/enable-subsystem-300x266.png\" alt=\"enable subsystem\" width=\"300\" height=\"266\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/enable-subsystem-300x266.png 300w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/enable-subsystem-338x300.png 338w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/enable-subsystem.png 415w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Click OK. \u00a0Windows will ask to re-boot. \u00a0Go ahead and reboot your system.<\/p>\n<p>After computer restarted, click on the Start button and type in search &#8220;bash&#8221;. \u00a0Select bash.exe from the search result and run it.<\/p>\n<p>A command prompt like window will appear. \u00a0It&#8217;ll ask you to type &#8220;y&#8221; to proceed. \u00a0Type in &#8220;y&#8221; and wait for the download of the Ubuntu to proceed.<\/p>\n<p><a href=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Ubuntu-download.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-46\" src=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Ubuntu-download-300x156.png\" alt=\"Ubuntu download\" width=\"300\" height=\"156\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Ubuntu-download-300x156.png 300w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Ubuntu-download-500x261.png 500w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Ubuntu-download.png 650w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once the install is done, go back to the Start button and type in search &#8220;Bash on Ubuntu&#8221;. You can pin the program to the task bar or start menu for a later easy access.<\/p>\n<p><a href=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/start-menu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-47\" src=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/start-menu-300x287.png\" alt=\"start menu\" width=\"300\" height=\"287\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/start-menu-300x287.png 300w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/start-menu-314x300.png 314w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/start-menu.png 558w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>My start Menu looks different from the standard Windows 10 start menu because I prefer Windows 7 style menu. \u00a0I highly recommend Start10. \u00a0It&#8217;s a paid app for $4.99 but I think it&#8217;s worth it. \u00a0https:\/\/www.stardock.com\/products\/start10\/<\/p>\n<p>There are other ways to customize the start menu bar using free software but it&#8217;s a topic for a different blog post.<\/p>\n<p>Now that you have Ubuntu Bash install, you can use it just like a normal Ubuntu terminal. \u00a0Most of the commands work as long as it&#8217;s not server or graphical related functions. \u00a0The best thing I found is the use of grep which Windows needed badly and now we have it!<\/p>\n<p><a href=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Bash-on-windows.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-48\" src=\"http:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Bash-on-windows-300x167.png\" alt=\"Bash on windows\" width=\"300\" height=\"167\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Bash-on-windows-300x167.png 300w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Bash-on-windows-768x427.png 768w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Bash-on-windows-500x278.png 500w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2017\/01\/Bash-on-windows.png 793w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Another awesome use is installing Go on here. \u00a0You could do Go on Windows already, but this moves it closer to the Go programming as it was intended.<\/p>\n<p>A good thing to do is to run the update so that this is up-to-date. Use -y so that it says yes to everything or you can leave it out and individually confirm each download:<\/p>\n<pre>sudo apt-get update -y\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A quick reminder that this feature is only available on Windows 10 (with the latest update). It&#8217;s still a beta feature but the developers have fixed many of the bugs and it&#8217;s pretty stable. \u00a0Hopefully more features will show up &hellip; <a href=\"https:\/\/notebook.chaopricha.com\/?p=42\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts\/42"}],"collection":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":4,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}