banner



How To Install Ubuntu Server On Windows 10

one. Overview

Windows Subsystem for Linux (WSL) allows you to install a complete Ubuntu last environment in minutes on your Windows automobile, allowing you to develop cross-platform applications without leaving Windows.

In this tutorial, we'll show you how to become upwards and running with Ubuntu on WSL. These instructions volition work on both Windows x or Windows 11.

Whilst WSL is a powerful tool for all users, some features, such as the ability to run graphical Linux applications, are only available on Windows 11. Delight check out our Windows xi tutorial for more than information.


2. Install WSL

Installing WSL is now easier than always. Search for Windows PowerShell in your Windows search bar, and then select Run as administrator.

At the command prompt type:

wsl --install

And wait for the process to complete.

For WSL to be properly activated, you will now demand to restart your computer.


3. Download Ubuntu

WSL supports a multifariousness of Linux distributions, including the latest Ubuntu release, Ubuntu 20.04 LTS and Ubuntu eighteen.04 LTS. You can discover them by opening the Microsoft store app and searching for Ubuntu.

Choose the distribution you prefer and and then click on Go every bit shown in the following screenshot:

Ubuntu will and then install on your machine.

The one line install!

In that location is a single command that will install both WSL and Ubuntu at the same fourth dimension.
When opening PowerShell for the first fourth dimension, simply modify the initial instruction to:

wsl --install -d ubuntu

This will install both WSL and Ubuntu! Don't forget to restart your motorcar before standing.

Once installed, you tin can either launch the application directly from the store or search for Ubuntu in your Windows search bar.


4. Configure Ubuntu

Congratulations, you now accept an Ubuntu final running on your Windows machine!

If Ubuntu returns an error during this initial installation, and so the most common effect is that virtualisation is disabled in your device'due south BIOS card. You will need to turn this on during your device'south boot sequence. The location of this choice varies by manufacturer, and so you will need to refer to their documentation to discover information technology.

Once Ubuntu has finished its initial setup you will demand to create a username and countersign (this does not need to friction match your Windows user credentials).

Finally, it's always good practise to install the latest updates with the post-obit commands, inbound your password when prompted.

sudo apt update

Then

sudo apt upgrade

Press Y when prompted.


5. Install your first package

Installing packages on Ubuntu is every bit like shooting fish in a barrel as using a single command. Beneath, y'all will meet how to install bpython, a simple python interpreter for trying out ideas, featuring some nice usability features similar expected parameters and autocompletion.

To cheque that y'all accept the latest parcel lists, type:

sudo apt update

Then install bpython:

sudo apt install bpython

To run the awarding blazon:

bpython

And you're ready to go!


6. Customising your Final with Windows Last Preview

Since you're likely to be using your Ubuntu concluding a fair flake, it's ever prissy to do some customisation. We recommend installing Windows Terminal Preview to get the nigh user-friendly setup. You can find it in the Microsoft Store.

Windows Terminal allows you lot to open multiple Final instances equally tabs, and then y'all can have PowerShell running alongside Ubuntu. It also includes a number of customisation options. In the below screenshot, we've changed the tab name and colour, and configured the terminal appearance to use the Tango Dark theme and the Ubuntu font!

These customisations can be applied universally using the Appearance menu in Settings or to individual profiles which each have their ain Appearance menu. Endeavour it yourself to find something you experience comfy with!


7. Enjoy Ubuntu on WSL!

That's information technology! In this tutorial, you've seen how to install WSL and Ubuntu, ready your profile, and install your first package. You also got some tips on how to customise your experience.

We hope you bask working with Ubuntu within WSL. Don't forget to check out our weblog for the latest news on all things Ubuntu.

Farther Reading

  • Install Ubuntu on WSL2 on Windows 11 with GUI Back up
  • Working with Visual Studio Code on Ubuntu on WSL2
  • Enabling GPU dispatch on Ubuntu on WSL2 with the NVIDIA CUDA Platform
  • Setting upwards WSL for Data Science
  • WSL on Ubuntu Wiki
  • Enquire Ubuntu

Source: https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10

Posted by: walkerbeeks1962.blogspot.com

0 Response to "How To Install Ubuntu Server On Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel