banner



How To Use Ubuntu Terminal In Windows 10

1. Overview

Windows Subsystem for Linux (WSL) allows you lot to install a consummate Ubuntu terminal environs in minutes on your Windows car, assuasive you to develop cross-platform applications without leaving Windows.

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

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


ii. Install WSL

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

At the command prompt blazon:

wsl --install

And look for the procedure to complete.

For WSL to be properly activated, you lot will at present need to restart your computer.


iii. Download Ubuntu

WSL supports a variety of Linux distributions, including the latest Ubuntu release, Ubuntu 20.04 LTS and Ubuntu 18.04 LTS. Y'all can find them by opening the Microsoft store app and searching for Ubuntu.

Choose the distribution y'all adopt and and then click on Get as shown in the following screenshot:

Ubuntu volition and so install on your automobile.

The one line install!

There is a single command that will install both WSL and Ubuntu at the aforementioned time.
When opening PowerShell for the outset fourth dimension, merely alter the initial instruction to:

wsl --install -d ubuntu

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

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


iv. Configure Ubuntu

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

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

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

Finally, it's always good practice to install the latest updates with the following commands, entering your password when prompted.

sudo apt update

Then

sudo apt upgrade

Press Y when prompted.


v. Install your first package

Installing packages on Ubuntu is as easy as using a single command. Below, you will run into how to install bpython, a simple python interpreter for trying out ideas, featuring some overnice usability features like expected parameters and autocompletion.

To bank check that you have the latest parcel lists, type:

sudo apt update

And so install bpython:

sudo apt install bpython

To run the application type:

bpython

And you're ready to go!


6. Customising your Terminal with Windows Concluding Preview

Since you're likely to be using your Ubuntu last a fair bit, it's always nice to practise some customisation. We recommend installing Windows Final Preview to get the about user-friendly setup. Yous can find it in the Microsoft Store.

Windows Concluding allows you to open multiple Terminal instances as tabs, so you tin can take PowerShell running alongside Ubuntu. It as well includes a number of customisation options. In the below screenshot, we've inverse the tab name and colour, and configured the terminal appearance to use the Tango Dark theme and the Ubuntu font!

These customisations can exist applied universally using the Appearance menu in Settings or to individual profiles which each accept their own Appearance menu. Try information technology yourself to discover something you lot feel comfortable with!


vii. Enjoy Ubuntu on WSL!

That's it! In this tutorial, you've seen how to install WSL and Ubuntu, set up your contour, and install your first packet. You also got some tips on how to customise your experience.

We hope you enjoy working with Ubuntu inside WSL. Don't forget to check out our blog for the latest news on all things Ubuntu.

Further Reading

  • Install Ubuntu on WSL2 on Windows 11 with GUI Support
  • Working with Visual Studio Code on Ubuntu on WSL2
  • Enabling GPU acceleration on Ubuntu on WSL2 with the NVIDIA CUDA Platform
  • Setting up WSL for Information Science
  • WSL on Ubuntu Wiki
  • Ask Ubuntu

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

Posted by: powershiste1968.blogspot.com

0 Response to "How To Use Ubuntu Terminal In Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel