banner



How To Install From Terminal Ubuntu

1. Overview

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

In this tutorial, nosotros'll show you how to get up and running with Ubuntu on WSL. These instructions will work on both Windows ten 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. Please bank check out our Windows 11 tutorial for more information.


2. Install WSL

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

At the command prompt type:

wsl –install

And expect for the procedure to complete.

For WSL to be properly activated, you volition at present need to restart your estimator.


3. Download Ubuntu

WSL supports a multifariousness of Linux distributions, including the latest Ubuntu release, Ubuntu 20.04 LTS and Ubuntu 18.04 LTS. You can find them by opening the Microsoft shop app and searching for Ubuntu.

Choose the distribution you prefer and then click on Get as shown in the following screenshot:

Ubuntu will then install on your machine.

The one line install!

There is a single control that will install both WSL and Ubuntu at the aforementioned time.
When opening PowerShell for the commencement time, simply modify the initial instruction to:

wsl --install -d ubuntu

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

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


4. Configure Ubuntu

Congratulations, you now take an Ubuntu concluding running on your Windows auto!

If Ubuntu returns an error during this initial installation, so the nearly common issue is that virtualisation is disabled in your device'southward BIOS menu. You will demand to turn this on during your device's boot sequence. The location of this option varies by manufacturer, so you will need to refer to their documentation to detect it.

Once Ubuntu has finished its initial setup you volition need to create a username and password (this does non demand to match your Windows user credentials).

Finally, it's e'er skilful 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 starting time packet

Installing packages on Ubuntu is as easy as using a single control. Beneath, you lot will run across how to install bpython, a simple python interpreter for trying out ideas, featuring some prissy usability features like expected parameters and autocompletion.

To check that you have the latest parcel lists, blazon:

sudo apt update

Then install bpython:

sudo apt install bpython

To run the application blazon:

bpython

And you're set to go!


six. Customising your Terminal with Windows Final Preview

Since you're likely to be using your Ubuntu terminal a fair scrap, it's always nice to do some customisation. We recommend installing Windows Terminal Preview to go the most user-friendly setup. You can find it in the Microsoft Store.

Windows Concluding allows you to open up multiple Last instances as tabs, so yous tin have PowerShell running alongside Ubuntu. It also includes a number of customisation options. In the beneath 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 Advent bill of fare in Settings or to individual profiles which each take their own Appearance bill of fare. Try it yourself to detect something you feel comfortable with!


7. Enjoy Ubuntu on WSL!

That's information technology! In this tutorial, yous've seen how to install WSL and Ubuntu, set up your profile, and install your kickoff package. You also got some tips on how to customise your feel.

We hope you savor working with Ubuntu inside WSL. Don't forget to cheque out our weblog for the latest news on all things Ubuntu.

Further Reading

  • Install Ubuntu on WSL2 on Windows 11 with GUI Support
  • Working with Visual Studio Lawmaking on Ubuntu on WSL2
  • Enabling GPU dispatch on Ubuntu on WSL2 with the NVIDIA CUDA Platform
  • Setting upward WSL for Information Science
  • WSL on Ubuntu Wiki
  • Inquire Ubuntu

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

Posted by: finnfroady.blogspot.com

0 Response to "How To Install From Terminal Ubuntu"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel