banner



How To Install Ubuntu On Windows

The full class of WSL is Windows Subsystem for Linux. It is a characteristic of Windows 10 that lets you lot install and run a total-fledged Linux environment on Windows 10. Windows did non use any virtualization technique here. Instead, Microsoft built a mode (WSL) to run Linux binaries on Windows. So, it's fast and does not crave much retentivity to run.  In this article, I will show you how to install Ubuntu on Windows x using Windows WSL. Let's get started.

Enabling WSL:

First, you have to enable WSL on Windows ten. It is actually piece of cake.  First, get to the Settings app from the Start menu.

At present, click on Apps.

Now, from the Apps & features tab, click on Programs and Features as marked in the screenshot below.

Now click on Turn Windows features on or off from the Programs and Features as marked in the screenshot below.

Now, cheque the Windows Subsystem for Linux checkbox as marked in the screenshot below and click ok OK.

At present, click on Restart now. Windows x should reboot.

Installing and Configuring Ubuntu on Windows 10 WSL:

Once your computer starts, open up Microsoft Store from the Commencement card as shown in the screenshot below.

Now, search for ubuntu. Equally y'all can come across in the screenshot below, you tin install Ubuntu xvi.04 LTS or Ubuntu 18.04 LTS at the time of this writing.

I decided to install Ubuntu 16.04 LTS in this article. So, I clicked on it. At present, click on Become as marked in the screenshot beneath to install Ubuntu.

As yous tin can see, Ubuntu is being installed from the Microsoft Shop. It may take a while to complete.

After a while, Ubuntu should be installed.

At present, start Ubuntu from the Start menu equally shown in the screenshot beneath.

Every bit you're running Ubuntu on Windows 10 for the beginning time, you will take to configure it. But press <Enter> to continue.

Now, you have to create a user business relationship on Ubuntu. Type in the username and press <Enter>.

Now, type in a new password for the username you lot picked and press <Enter>.

At present, retype the password and press <Enter>.

A new user for Ubuntu should be created.

At present, you tin can run any Ubuntu Linux command hither. I ran the lsb_release -a control and as you can see in the screenshot beneath, I am running Ubuntu 16.04.5 LTS on Windows 10 through WSL.

Ubuntu WSL version is using a custom version of the Linux kernel as yous tin see in the screenshot below.

You lot tin can also exit out of the fustigate like you always do with the leave control.

One time you practice the initial configuration, every time you lot run the Ubuntu app, you will see a bash panel equally shown in the screenshot beneath.

As you tin can meet, the Ubuntu's free command also works.

Installing Ubuntu Packages:

You lot can also install Ubuntu packages hither as well. The popular apt and apt-become commands are available.  For case, let's install the htop package on this version of Ubuntu and see what happens.  First, open Ubuntu app and run the following command to update the APT bundle repository cache:

As you tin see, the APT packet repository enshroud is updated.

Now, install htop with the following command:

As you can meet, htop is installed.

Now, you can run htop with the command:

Equally you tin see, htop is running.

So, that'southward how you install and utilize Ubuntu on Windows x through WSL. Thanks for reading this article.

About the writer

Freelancer & Linux System Administrator. Also loves Spider web API evolution with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Advice Engineering at Khulna University of Engineering & Engineering (KUET), i of the demanding public engineering universities of Bangladesh.

How To Install Ubuntu On Windows,

Source: https://linuxhint.com/install_ubuntu_windows_10_wsl/

Posted by: whipplemintwoubity.blogspot.com

0 Response to "How To Install Ubuntu On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel