This tutorial will guide you step by step though the installation of Ubuntu 18.04 on the Windows 10 operating system. The Ubuntu 18.04 system is available as an application via Microsoft Store.

In this How to install Ubuntu 18.04 on Windows 10 tutorial you will learn:
  • How to run PowerShell as an Administrator.
  • How to enable the Windows subsystem for Linux component.
  • How to find Ubuntu 18.04 app in Microsoft Store.
  • How to launch Ubuntu 18.04 on Windows 10.
  • How to create an initial user on Ubuntu 18.04 running on Windows 10.
Running Ubuntu 18.04 on Windows 10
Running Ubuntu 18.04 on Windows 10.

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System MS Windows 10
Software Ubuntu 18.04
Other Privileged access to your Windows 10 system as administrator

How to install Ubuntu 18.04 on Windows 10 step by step

  1. Enable Windows subsystem for Linux component.

    In the search box below type powershell. Wait for results to appear and once ready right click on Windows PowerShell and select the Run as administrator option.


    Run PowerShell as administrator
    Run PowerShell as administrator.
    Allow app to make changes to your device.
    Allow app to make changes to your device. Click Yes.
    This will open up PowerShell window. Copy and Paste the following command into the PowerShell terminal and press Enter:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    
    Enable Windows subsystem for Linux command
    Enable Windows subsystem for Linux command.


    WARNING
    Make sure that you have saved all your unsaved work progress as you are about to restart your computer.
    Leave, blank or type Y and press Enter:
    Complete the Enable Windows subsystem for Linux component operation and wait for your computer to restart
    Complete the Enable Windows subsystem for Linux component operation and wait for your computer to restart.
    This is the only prerequisite before we can proceed with Ubuntu 18.04 on Windows 10 installation. Failing to meet this requirement will produce the following error message:
    Installing, this may take a few minutes...
    WslRegisterDistribution failed with error: 0x8007019e
    The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
    See https://aka.ms/wslinstall for details.
    
  2. Search for the Ubuntu application.

    Type ubuntu into the below search box and select Ubuntu 18.04 LTS application.
    Ubuntu 18.04 app on Microsoft Store
    Ubuntu 18.04 app in Microsoft Store.
  3. Download the Ubuntu 18.04 application.

    Hit the Get button. This will download the Ubuntu 18.04 application from the Microsoft store.
    Download the Ubuntu 18.04 application from Microsoft store
    Downloading the Ubuntu 18.04 application from the Microsoft store.


  4. Launch Ubuntu 18.04 on Windows 10.

    Press the Launch button to start the Ubuntu 18.04 application.
    Launch Ubuntu 18.04 on Windows 10
    Launching Ubuntu 18.04 on Windows 10.
  5. Wait for Installation of Ubuntu 18.04 on Windows 10 to finish.
    Sit back and wait for Ubuntu 18.04 to install
    Sit back and wait for Ubuntu 18.04 to install.
  6. Create an initial user with administrative privileges.

    All what remains is to create a new user. Once the installation is completed you will be prompted to enter a username for a new Ubuntu 18.04 user.
    Ubuntu 18.04 on Windows 10 installation successful
    Ubuntu 18.04 on Windows 10 successful installation.
    Enter username eg. linuxconfig followed by a new password and retype of the new password.
    NOTE
    Be aware that while you are entering your password the characters will not be visible. Simply keep typing.
    Retrieving the Ubuntu Linux version number.
    All done. Optionally use the cat command to retrieve the Ubuntu Linux version number.
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME or create a JOB ALERT on LinuxCareers.com job portal.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions