How to Install Linux Subsystem in Windows Operating System




Step by Step Guide on Installing and Setting Up Linux Environment to Work on your Windows Operating System for bioinformatics
Enable Linux Subsystem
- Scroll down to Windows Subsystem for Linux, check the box, and then click the OK button.
- Wait for your changes to be applied, then click the Restart now button to restart your computer.
Begin typing “Turn Windows features on and off” into the Start Menu search field, then select the control panel when it appears.
Install and Update Ubuntu Linux
- Now we’re going to actually install a Linux distribution. Go to Start Button > Microsoft Store.
- To see the available Linux distributions, type “Linux” into the search field, then click Run Linux on Windows.
- Click the Linux distribution you’d like to install. In this how-to we’re going to choose Ubuntu.
- Click the Get button.
- Windows will download and install Ubuntu. When it’s finished, click the Launch button.
- A terminal window will appear. Wait for Ubuntu to finish installing, then create a new Linux username and password when prompted. You’re now at your new Linux command line!
- Now is a good time to make sure that your installed software is up to date. In Ubuntu, you can use the
apt-get
command to update all packages automatically. (If you installed a different Linux distribution, you should check its documentation for how software updates are handled — this process varies significantly between distributions.) First, we’ll update the package lists. Enter the command below (note that you must use
sudo
and enter your password to run the command as an administrator):
sudo apt-get update
- Ubuntu will connect to its repositories and download a series of package lists. When it is finished, use
apt-get
it again to upgrade all packages to their latest versions.
sudo apt-get upgrade
- A list of packages to be upgraded will be shown. Enter Y at the prompt to continue with the installation.
- Ubuntu will now download and install the packages. This process will probably take at least a few minutes to complete, depending on your connection speed and how many packages need to be upgraded. You may also be prompted as to whether you want services to be automatically restarted during package installations (we’re picking “Yes” for convenience here, but it’s not required).
- Finally, run this command to check dependencies and delete obsolete packages from the system (depending on how long the previous step took, you may have to enter our password again):
sudo apt-get dist-upgrade
- Again, enter Y at the prompt to install the listed packages.
- You’re all finished installing and updating Ubuntu Linux! You can launch a Linux terminal at any time by selecting Ubuntu from the start menu.
3 comments
Muhammad Waqas
August 11, 2022 at 4:23 pm
Very elaborative and quality content.
Dania Ilyas
August 11, 2022 at 5:26 pm
This is the most easiest method to install Linux subsystem. You just have to follow the steps that are explained perfectly. I would highly recommend this website if you are a bioinformatics student or happen to work in it.
In my knowledge, its the first website having complete resources for this field.
Abraham
October 11, 2022 at 6:03 pm
ok Very inspired by your comment!