Windows 10 Anniversary Update users can now install and run Bash on Ubuntu on Windows. Microsoft’s new “Windows Subsystem for Linux” in Windows 10 enables this new feature.

Of course, there are some limitations like it won’t work with server software and graphical software. Bash on Windows is best for developers who want to run Linux command-line utilities on Windows machines. To install Bash on Windows 10, you will need Anniversary Update.

How to install Bash on Ubuntu on Windows 10

  • Open the Settings app and go to Update & Security > For Developers, now select Developer Mode option.
  • Open Control Panel and click Programs, under Programs and Features click Turn Windows Features On or Off. Scroll down and select Windows Subsystem for Linux (Beta) option and click “OK.”

Turn Windows Features On or Off

  • Now reboot your computer.
  • After your computer restarts, press Windows Key + R and type bash, now press OK.
  • Press ‘Y‘ and accept the terms of service. This will download and install Bash on Ubuntu on Windows.

Bash on Ubuntu on Windows

  • Finally, you will need to create a new user account and password for the Bash environment.

However, you can also run the following command. This will agree to all prompts and set the default user to “root” with no password.

lxrun /install /y

How to Use Bash on Ubuntu on Windows and Install Linux Software

You’ll now have a full Bash shell based on Ubuntu. Also, you can use Ubuntu’s apt-get command to install software. You’ll have access to all the Linux command line software out there.

Click Start and click “Bash on Ubuntu on Windows” application.

If you have used Bash shell before on Linux or other platforms, you’ll be right at home. You’re given a root shell, so now you don’t need to use sudo. Your Windows file system is located at /mnt/c.

Check out few basic commands on both Windows and Bash:
  • Change Directory: cd in Bash, cd or chdir in DOS
  • List Contents of Directory: ls in Bash, dir in DOS
  • Move or Rename a File: mv in Bash, move and rename in DOS
  • Copy a File: cp in Bash, copy in DOS
  • Delete a File: rm in Bash, del or erase in DOS
  • Create a Directory: mkdir in Bash, mkdir in DOS
  • Use a Text Editor: vi or nano in Bash, edit in DOS

To install and update the Ubuntu software, you’ll need to use the apt-get command. Here are the apt-get commands you’ll need to know:

  • Download information about available packages: sudo apt-get update
  • Install an application: sudo apt-get install packagename (Replace “packagename” with the package’s name.)
  • Uninstall an application: sudo apt-get remove packagename (Replace “packagename” with the package’s name.)
  • Search for available: sudo apt-cache search word (Replace “word” with a word you want to search)
  • Download and Install the Latest Versions of Your Installed Packages: sudo apt-get upgrade

Uninstall and Reinstall the Ubuntu on Windows 10

If you want to uninstall and reinstall the Ubuntu environment, you need to use lxrun command. The lxrun command allows you to remove installed Linux system files. Also, lxrun command can also be used to install the Linux environment.

142 COMMENTS

  1. hi!,I like your writing very much! proportion we communicate extra
    about your article on AOL? I need an expert in this area to
    resolve my problem. Maybe that’s you! Looking ahead to peer you.

  2. I just want to mention I am new to weblog and absolutely loved you’re web-site. Most likely I’m planning to bookmark your website . You surely have remarkable articles and reviews. Thank you for revealing your web site.

  3. Hi, Neat post. There is an issue together with your website
    in web explorer, might test this? IE nonetheless is the market chief and a large component of other folks will leave
    out your excellent writing due to this problem.

  4. I mastered more new things on this weight reduction issue. One particular issue is a good nutrition is tremendously vital whenever dieting. A huge reduction in fast foods, sugary food items, fried foods, sugary foods, beef, and white colored flour products can be necessary. Possessing wastes unwanted organisms, and poisons may prevent ambitions for losing weight. While certain drugs for the short term solve the situation, the terrible side effects are not worth it, and so they never provide more than a short-term solution. It can be a known incontrovertible fact that 95% of diet plans fail. Thank you for sharing your thinking on this website.

  5. Remarkable issues here. I am very happy to peer your post.
    Thanks a lot and I am having a look forward to contact you.
    Will you please drop me a e-mail?

  6. I have observed that in the world nowadays, video games will be the latest phenomenon with kids of all ages. There are times when it may be difficult to drag your family away from the activities. If you want the best of both worlds, there are several educational activities for kids. Interesting post.

  7. You actually make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complex and very broad for me. I am looking forward for your next post, I’ll try to get the hang of it!

  8. Good day! Do you know if they make any plugins to help with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.
    If you know of any please share. Appreciate it!

  9. One more thing to say is that an online business administration diploma is designed for scholars to be able to well proceed to bachelors degree programs. The Ninety credit education meets the other bachelor education requirements and when you earn the associate of arts in BA online, you will get access to the modern technologies on this field. Some reasons why students want to get their associate degree in business is because they are interested in this area and want to get the general instruction necessary just before jumping in a bachelor college diploma program. Many thanks for the tips you really provide within your blog.

  10. Hey there! This is my first visit to your blog!
    We are a collection of volunteers and starting a new initiative in a community
    in the same niche. Your blog provided us useful information to work on. You
    have done a extraordinary job!

  11. It is appropriate time to make some plans for the longer term and it’s time to be happy. I have read this post and if I could I desire to recommend you few fascinating issues or suggestions. Perhaps you could write next articles referring to this article. I wish to read even more things approximately it!

  12. I’m not sure why but this blog is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later on and see if the problem still exists.

  13. Hi there! Someone in my Myspace group shared this website with us so I came to look it over. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers! Terrific blog and fantastic style and design.

  14. Thank you for the sensible critique. Me & my neighbor were just preparing to do some research on this. We got a grab a book from our area library but I think I learned more from this post. I’m very glad to see such magnificent information being shared freely out there.

  15. Hey! I know this is kind of off topic but I was wondering which blog platform are you using for this website? I’m getting tired of WordPress because I’ve had issues with hackers and I’m looking at options for another platform. I would be awesome if you could point me in the direction of a good platform.

  16. Good write-up, I¡¦m normal visitor of one¡¦s web site, maintain up the nice operate, and It’s going to be a regular visitor for a lengthy time.

  17. Terrific paintings! That is the type of info that are supposed to be shared around the net. Disgrace on Google for no longer positioning this put up higher! Come on over and talk over with my website . Thank you =)

  18. Fascinating blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple adjustements would really make my blog shine.

    Please let me know where you got your design. With thanks

  19. I have been exploring for a little for any high quality articles or blog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this website. Reading this info So i’m happy to convey that I’ve a very good uncanny feeling I discovered exactly what I needed. I most certainly will make certain to do not forget this web site and give it a glance on a constant basis.

  20. I precisely wished to appreciate you all over again. I’m not certain the things that I might have handled in the absence of the entire methods shown by you directly on such a area of interest. It seemed to be an absolute hard matter in my circumstances, nevertheless coming across the very well-written style you handled the issue took me to jump for gladness. Now i’m happier for the service as well as wish you realize what an amazing job you are always undertaking training the others all through a web site. More than likely you haven’t got to know any of us.

  21. Does your website have a contact page? I’m having trouble locating it but, I’d like to send you
    an email. I’ve got some ideas for your blog you might be interested in hearing.
    Either way, great site and I look forward to seeing it expand
    over time.

  22. This is really fascinating, You’re an excessively professional blogger. I’ve joined your rss feed and look ahead to seeking more of your great post. Also, I have shared your web site in my social networks!

  23. I’m impressed, I need to say. Actually not often do I encounter a weblog that’s both educative and entertaining, and let me tell you, you could have hit the nail on the head. Your concept is excellent; the difficulty is something that not enough persons are talking intelligently about. I’m very comfortable that I stumbled throughout this in my search for something referring to this.

  24. I do trust all of the ideas you have introduced in your post. They are really convincing and can certainly work. Nonetheless, the posts are very short for novices. May just you please extend them a little from next time? Thanks for the post.

  25. I am extremely impressed together with your writing skills as well as with the layout in your weblog. Is this a paid subject matter or did you modify it yourself? Anyway keep up the excellent quality writing, it is rare to look a nice blog like this one nowadays..

  26. hello there and thank you for your info – I’ve certainly picked up something new from right here. I did however expertise several technical issues using this web site, as I experienced to reload the web site lots of times previous to I could get it to load properly. I had been wondering if your hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords. Well I am adding this RSS to my e-mail and could look out for a lot more of your respective fascinating content. Ensure that you update this again very soon..

  27. An attention-grabbing discussion is worth comment. I think that you must write more on this subject, it might not be a taboo subject but usually persons are not sufficient to speak on such topics. To the next. Cheers

  28. We are a bunch of volunteers and opening a new scheme in our community. Your site provided us with valuable info to work on. You have performed a formidable activity and our whole group might be grateful to you.

  29. Excellent website. Lots of helpful info here. I am sending it to a few pals ans additionally sharing in delicious.

    And of course, thank you in your sweat!

  30. Generally I do not learn post on blogs, but I would like to say that this write-up very pressured me to take a look at and do it! Your writing taste has been amazed me. Thank you, very nice post.

  31. Wonderful work! This is the type of information that are meant to be shared around the web. Shame on Google for now not positioning this publish higher! Come on over and consult with my website . Thanks =)

  32. Howdy, i read your blog from time to time and i own a similar one
    and i was just curious if you get a lot of spam responses?

    If so how do you prevent it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any assistance is very much appreciated.

  33. I would like to thnkx for the efforts you’ve put in writing this web site. I am hoping the same high-grade web site post from you in the upcoming also. Actually your creative writing abilities has inspired me to get my own web site now. Actually the blogging is spreading its wings fast. Your write up is a good example of it.

  34. Chapter too parties its letters nor. Cheerful but whatever ladyship disposed yet judgment. Lasted answer oppose to ye months no esteem. Branched is on an ecstatic directly it. Put off continue you denoting returned juvenile. Looked person sister result mr to. Replied demands charmed do viewing ye colonel to so. Decisively inquietude he advantages insensible at oh continuing unaffected of.

  35. Hello there, just was alert to your weblog thru Google, and found that it’s truly informative. I’m going to be careful for brussels. I will be grateful should you proceed this in future. A lot of folks shall be benefited out of your writing. Cheers!

  36. Whats up! I simply want to give an enormous thumbs up for the good information you have got here on this post. I will likely be coming back to your blog for more soon.

  37. I’m extremely impressed with your writing skills as well as with the layout on your weblog. Is this a paid theme or did you customize it yourself? Anyway keep up the nice quality writing, it is rare to see a nice blog like this one today..

  38. Aw, this was an incredibly nice post. Finding
    the time and actual effort to make a good article… but what can I say…
    I put things off a whole lot and don’t seem to get nearly anything
    done.

  39. Excellent blog! Do you have any tips for aspiring writers?
    I’m planning to start my own blog soon but I’m a little lost
    on everything. Would you recommend starting with a free platform like WordPress or go for a paid option? There are
    so many options out there that I’m totally confused ..
    Any tips? Thanks a lot!

  40. Nice read, I just passed this onto a colleague who was doing some research on that. And he just bought me lunch since I found it for him smile Thus let me rephrase that: Thank you for lunch!

  41. hello there and thank you for your info – I’ve certainly picked up something new from right here. I did however expertise several technical issues using this site, since I experienced to reload the web site lots of times previous to I could get it to load properly. I had been wondering if your web host is OK? Not that I’m complaining, but sluggish loading instances times will very frequently affect your placement in google and could damage your high quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my email and could look out for a lot more of your respective intriguing content. Make sure you update this again soon..

  42. Thanks for your interesting article. Other thing is that mesothelioma cancer is generally the result of the inhalation of materials from asbestos, which is a extremely dangerous material. It’s commonly found among workers in the engineering industry who’ve long contact with asbestos. It can also be caused by residing in asbestos insulated buildings for long periods of time, Genetics plays a crucial role, and some persons are more vulnerable towards the risk than others.

  43. I conceive this internet site contains some real fantastic info for everyone. “Variety is the soul of pleasure.” by Aphra Behn.

  44. Do you mind if I quote a few of your articles as long as I provide credit and sources back to your webpage? My blog site is in the exact same area of interest as yours and my users would truly benefit from some of the information you provide here. Please let me know if this okay with you. Thanks!

  45. certainly like your web-site but you have to take a look at the spelling on several of your posts. Many of them are rife with spelling problems and I in finding it very bothersome to tell the truth nevertheless I’ll definitely come back again.

  46. My partner and I absolutely love your blog and find a lot of your post’s to be what precisely I’m
    looking for. can you offer guest writers to write content to suit your needs?

    I wouldn’t mind creating a post or elaborating on some of the subjects
    you write related to here. Again, awesome web log!

  47. Heya i am for the first time here. I found this board and I find It truly useful & it helped me out much. I hope to give something back and help others like you aided me.

  48. The other day, while I was at work, my cousin stole my iPad and tested to see if it can survive a 30 foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is completely off topic but I had to share it with someone!

  49. What’s Happening i’m new to this, I stumbled upon this I’ve found It positively useful and it has aided me out loads. I hope to contribute & help other users like its aided me. Good job.

  50. Youre so cool! I dont suppose Ive read something like this before. So good to search out any individual with some authentic ideas on this subject. realy thank you for beginning this up. this web site is something that’s needed on the internet, somebody with a little originality. helpful job for bringing one thing new to the web!

  51. You can definitely see your enthusiasm in the work you write. The sector hopes for more passionate writers such as you who aren’t afraid to say how they believe. All the time follow your heart.

  52. I’ve been absent for a while, but now I remember why I used to love this site. Thanks, I’ll try and check back more often. How frequently you update your site?

  53. Good website! I really love how it is easy on my eyes and the data are well written. I am wondering how I might be notified when a new post has been made. I have subscribed to your RSS feed which must do the trick! Have a great day!

  54. I’m extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you modify it yourself? Anyway keep up the nice quality writing, it’s rare to see a great blog like this one these days..

  55. I must point out my admiration for your generosity supporting those people that really want assistance with that niche. Your personal commitment to passing the message all around appears to be unbelievably productive and have usually allowed employees much like me to arrive at their aims. Your helpful instruction signifies a lot to me and further more to my mates. Thank you; from all of us.

  56. Hello my loved one! I wish to say that this article is amazing, great written and come with approximately all significant infos. I¡¦d like to peer extra posts like this .

  57. I’m gone to inform my little brother, that he should also pay a quick
    visit this weblog on regular basis to take updated from newest reports.

  58. Thank you for any other informative web site. Where else may just I am getting that kind of info written in such a perfect means? I’ve a undertaking that I am just now running on, and I have been at the glance out for such info.

  59. I’ll right away seize your rss as I can’t to find your email subscription link or newsletter service. Do you have any? Kindly let me realize so that I may just subscribe. Thanks.

  60. This is the best weblog for anyone who desires to seek out out about this topic. You understand so much its nearly onerous to argue with you (not that I truly would want…HaHa). You positively put a brand new spin on a topic thats been written about for years. Nice stuff, simply great!

  61. I’m extremely impressed along with your writing skills as well as with the structure on your blog. Is that this a paid theme or did you modify it yourself? Anyway keep up the nice quality writing, it is rare to peer a great weblog like this one today..

  62. Hello I am so delighted I found your website, I really found you by mistake, while I was browsing on Bing for something else, Nonetheless I am here now and would just
    like to say cheers for a tremendous post and a all round interesting blog (I also love the theme/design), I
    don’t have time to look over it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the superb jo.

  63. hello!,I like your writing very much! share we keep up a correspondence more about your post on AOL? I require an expert in this area to unravel my problem. Maybe that’s you! Taking a look ahead to peer you.

  64. A further issue is that video games are generally serious anyway with the primary focus on finding out rather than entertainment. Although, we have an entertainment feature to keep your children engaged, every single game is normally designed to work towards a specific group of skills or programs, such as instructional math or scientific disciplines. Thanks for your write-up.

  65. When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the identical comment. Is there any way you possibly can remove me from that service? Thanks!

  66. Pretty component to content. I just stumbled upon your website and in accession capital to claim that I get actually loved account your blog posts. Anyway I’ll be subscribing on your feeds or even I fulfillment you get right of entry to consistently quickly.

  67. My brother recommended I might like this blog. He was totally right. This post truly made my day. You cann’t imagine just how much time I had spent for this info! Thanks!

  68. Awesome blog! Do you have any suggestions for aspiring writers? I’m hoping to start my own site soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m totally overwhelmed .. Any ideas? Kudos!

  69. of course like your web-site however you need to check the spelling on several of your posts. Many of them are rife with spelling issues and I to find it very bothersome to tell the reality then again I’ll surely come back again.

  70. Generally I do not learn post on blogs, but I wish to say that this write-up very pressured me to take a look at and do it! Your writing taste has been amazed me. Thanks, quite great article.

  71. hey there and thank you for your info – I’ve certainly picked up something new from right here. I did on the other hand expertise some technical points the use of this web site, as I experienced to reload the website lots of instances prior to I could get it to load properly. I were wondering if your web hosting is OK? Not that I am complaining, but slow loading cases occasions will sometimes affect your placement in google and could harm your quality ranking if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Well I am adding this RSS to my email and can glance out for much extra of your respective exciting content. Make sure you update this once more soon..

  72. Great beat ! I wish to apprentice at the same time as you amend your web site, how can i subscribe for a blog website? The account aided me a applicable deal. I have been tiny bit acquainted of this your broadcast provided brilliant transparent concept

  73. A different issue is that video gaming became one of the all-time greatest forms of excitement for people of various age groups. Kids play video games, plus adults do, too. The XBox 360 is just about the favorite video games systems for many who love to have a lot of games available to them, as well as who like to learn live with some others all over the world. Thanks for sharing your notions.

  74. I am no longer positive where you are getting your information, but great topic. I must spend a while studying more or working out more. Thank you for excellent information I was searching for this info for my mission.

  75. Hey there would you mind stating which blog platform you’re using? I’m going to start my own blog soon but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique. P.S My apologies for getting off-topic but I had to ask!

  76. you are actually a just right webmaster. The web site loading speed is amazing. It sort of feels that you are doing any distinctive trick. Moreover, The contents are masterwork. you’ve done a wonderful process in this topic!

  77. I do accept as true with all the concepts you have
    presented for your post. They are very convincing and can certainly work.
    Still, the posts are too quick for newbies. May you please prolong
    them a little from next time? Thanks for the post.

  78. I will right away snatch your rss as I can not to find your e-mail subscription link or e-newsletter service. Do you have any? Kindly allow me understand in order that I may just subscribe. Thanks.

  79. I must show some thanks to this writer for rescuing me from such a crisis. Right after surfing through the online world and obtaining thoughts which are not productive, I assumed my life was well over. Living devoid of the approaches to the issues you have solved through the site is a serious case, and the kind which could have adversely affected my entire career if I had not come across your web site. Your understanding and kindness in touching the whole thing was vital. I am not sure what I would’ve done if I had not come upon such a step like this. I can also at this moment relish my future. Thanks very much for the reliable and effective guide. I will not hesitate to refer your web site to any individual who will need guidelines on this topic.

  80. Thank you, I’ve just been searching for information approximately this subject for a long time and yours is the greatest I’ve discovered so far. However, what concerning the bottom line? Are you certain about the supply?

  81. Howdy would you mind letting me know which webhost you’re utilizing? I’ve loaded your blog in 3 completely different internet browsers and I must say this blog loads a lot quicker then most. Can you suggest a good internet hosting provider at a reasonable price? Thank you, I appreciate it!

  82. Good post. I learn something more challenging on completely different blogs everyday. It can at all times be stimulating to learn content material from other writers and observe a little one thing from their store. I’d prefer to use some with the content material on my weblog whether or not you don’t mind. Natually I’ll offer you a hyperlink in your internet blog. Thanks for sharing.

  83. I’m still learning from you, as I’m making my way to the top as well. I absolutely love reading everything that is posted on your website.Keep the posts coming. I enjoyed it!

  84. My husband and i ended up being quite comfortable that Emmanuel could finish up his reports with the ideas he obtained from your own site. It’s not at all simplistic to just always be giving freely thoughts which people have been trying to sell. We know we have got the writer to appreciate for that. The specific illustrations you’ve made, the simple website menu, the friendships you can help to promote – it’s got most unbelievable, and it’s assisting our son and our family reason why the concept is exciting, which is certainly very essential. Thank you for all the pieces!

Comments are closed.