Before you begin check to make sure that you have the most recent version of Windows 10.
This section will help you to enable the WSL feature in Windows, and then to install and setup the Ubuntu App from the Microsoft store.
Turn Windows Features On Or Off
and click on the item that populates in the list.Windows Subsystem for Linux
.This will install the needed files. Follow any directions that pop up and restart when asked. This page might not open after restart, so be sure to make note of the url or bookmark it.
pwd
to see where you currently are in the FS, you should be at /home/<your username>
. This is the root level of your Ubuntu user.NOTE: This can take some time, about 10-30 minutes. It is recommended you do it now if you have the time, but you can also wait until the end of this doc to do this as well. Don’t worry, there will be a reminder at the end.
Ubuntu is shipped with some default software that has likely had more recent updates come out. Ubuntu uses apt, Advanced Packaging Tool, to maintain all of it’s packages. Think of it like Windows Update, the App Store, and a Public library all in one. We need to use apt to update all it’s packages and then tell it to upgrade them (updates the current versions).
sudo apt-get update
.sudo apt-get upgrade
. Press y
when prompted.sudo apt autoremove
. This will remove any packages that are no longer needed.At this point you are now totally setup with WSL and the Ubuntu app. The rest of this guide will spend time talking about best practices, workflow, and other important info!
IMPORTANT
It is highly recommended you read through the next section, at least, as it talks about the very important differences between the Windows FS and the Ubuntu FS.