banner



How To Run Windows Exe On Ubuntu

1. Overview

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

In this tutorial, we'll prove y'all how to get up and running with Ubuntu on WSL. These instructions will piece of work on both Windows 10 or Windows eleven.

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


2. Install WSL

Installing WSL is at present easier than e'er. 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 exist properly activated, you will at present need to restart your reckoner.


iii. Download Ubuntu

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

Cull the distribution you lot adopt and then click on Get as shown in the following screenshot:

Ubuntu will then install on your automobile.

The i line install!

There is a unmarried command that will install both WSL and Ubuntu at the same time.
When opening PowerShell for the beginning time, simply modify the initial educational activity to:

wsl --install -d ubuntu

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

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


4. Configure Ubuntu

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

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

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

Finally, it'south 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.


five. Install your showtime packet

Installing packages on Ubuntu is as easy as using a unmarried command. Beneath, y'all will see 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 lot have the latest package lists, type:

sudo apt update

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 Terminal Preview

Since you're likely to exist using your Ubuntu terminal a off-white bit, it's always nice to do some customisation. We recommend installing Windows Terminal Preview to get the most user-friendly setup. Yous tin observe it in the Microsoft Store.

Windows Final allows you to open multiple Final instances every bit tabs, so you can have PowerShell running aslope Ubuntu. Information technology also includes a number of customisation options. In the below screenshot, we've changed the tab name and colour, and configured the last appearance to use the Tango Dark theme and the Ubuntu font!

These customisations can be applied universally using the Advent carte in Settings or to individual profiles which each accept their own Advent bill of fare. Try it yourself to find something you feel comfortable with!


7. Enjoy Ubuntu on WSL!

That'southward it! In this tutorial, you lot've seen how to install WSL and Ubuntu, prepare your profile, and install your first package. You as well got some tips on how to customise your feel.

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

Further Reading

  • Install Ubuntu on WSL2 on Windows eleven 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 Data Science
  • WSL on Ubuntu Wiki
  • Enquire Ubuntu

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

Posted by: deanwitilen.blogspot.com

0 Response to "How To Run Windows Exe On Ubuntu"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel