layout | title | parent | nav_order |
---|---|---|---|
default |
Windows Subsystem for Linux |
1. General guides |
2 |
Windows Subsystem for Linux (WSL) is a feature of Windows 10. When enabled, WSL allows Linux systems (e.g. Ubuntu) to be used as Windows applications. These Linux systems can be downloaded directly from the Microsoft Store. The bioinfo-notebook conda environment can be installed in an Ubuntu system running using WSL.
Before you begin, make sure you have around 1.20 GB of free disk space.
Note: Enabling the WSL feature will take a few minutes, and you will need to restart your computer for it to take effect.
- In the search box on the taskbar, type "control panel", and then select Control Panel.
- In the Control Panel, select "Programs".
- Under Programs and Features, select "Turn Windows features on or off".
- If asked "Do you want this app to make changes to your device?", select "Yes".
- From the list of Windows features, tick the box next to "Windows Subsystem for Linux" to enable WSL, and click OK.
- In the search box on the taskbar, type "microsoft store", and select Microsoft Store.
- In the Microsoft Store, search for "Ubuntu".
- Select the Ubuntu app.
- On the app page, select "Get" to download Ubuntu.
- If asked to sign in with a Microsoft account, select "No, thanks".
After enabling WSL and downloading Ubuntu from the Microsoft Store, Ubuntu can be used like a regular Windows application.
- In the search box on the taskbar, type "Ubuntu", and select the Ubuntu app to launch it. It will take a few minutes to install the first time it runs.
- When prompted, enter a UNIX username- this does not need to be the same as your Windows account name.
- You will need to set a UNIX password. This is only used for the Ubuntu app, it does not need to be the same as your Windows password. Make sure you remember your UNIX password, as you will need it for installing new programs in Ubuntu.
Once your UNIX password has been updated successfully, you will see the bash
command prompt in the Ubuntu window:
(Your UNIX username)@(Your computer's alias):~$ _
In this command prompt, the tilde character (~
) indicates that you are currently in your home directory.
The dollar sign ($
) indicates that this command line uses the bash
shell language.