navbuttons

Googlesearch

Friday, April 29, 2016

How To Setup Ubuntu Bash(Terminal) In Windows 10

For those of you who are used to Terminal(a command line interface)in Linux would probably find this idea of Microsoft incorporating Ubuntu bash into the Windows 10 welcoming, because it provides a platform for those who are using emulators with limited functions to carry out their task to do more jobs without switching to Linux.


Image of Bash in Windows 10 Command Prompt

With Terminal you can download, install, compile packages, issue commands and do many more things. These have been some of the critical areas Linux users have argued fervently when comparing Windows to other operating systems. PowerShell does much as Linux terminal in most areas but large number of people who use the latter are either information technicians(very large numbers of servers in the world run on Linux) or doing things requiring Linux commands.  

It is good to know bash in Windows 10 is not completely functional yet as it is in other Linux. That is due to the fact it is still in the evaluation stage. Still, you can carry out few activities flawlessly like install, issuing Linux commands, etc. Presently, Ubuntu bash is only available to 64-bit system and you can setup it up, test and give feedback to Microsoft to make changes for a better Ubuntu bash.

It is very necessary to turn on the 'Developer Mode' by selecting it under 'Update & Security' at Settings.

Note: The bash is made available in recent Windows 10 builds. Those running build versions below 14328 will not be able to run it on their systems. To know your system build version, press Windows Key + R to open 'Run', type or copy and paste Winver into it and click on 'OK'.





Windows Key + R indicated in red

STEP 1: Press Windows Key + R to open 'Run'.


Red arrows pointing process 

STEP  2: Type or copy and paste   Appwiz.cpl   into 'Run' dialog and click on 'OK' to continue.


Image of red arrow indicating link

STEP 3: Next, click on 'Turn Windows features on or off' link to the top left-hand side of 'Control Panel'.


Red arrow pointing to feature box

STEP 4: On the 'Turn Windows feature on or off' dialog scroll down and select the little box close to 'Windows subsystem for Linux(Beta) and click on 'OK' button.


Image of red arrow pointing to Close button

STEP 5: Wait for Windows to install the feature and click on 'Close' button when process is complete to close the dialog.


Red arrows pointing to process

STEP 6: Click on 'Cortana' on your 'Taskbar' and  type or copy and paste  Bash  into it and click on 'Bash on Ubuntu on Windows' to open it.


Image showing red arrow indicating Bash

STEP 7: To run it from Windows Command Prompt or PowerShell, open 'PowerShell' or  'Windows Command', type or copy and paste Bash and press the ENTER key.