Installing Windows Subsystem for Linux WSL2 (Ubuntu) on Windows 11

  Рет қаралды 2,341

Philip Yip

Philip Yip

Жыл бұрын

In this video I look at installing Windows Subsystem for Linux 2 on Windows 11 using Ubuntu 22.04 LTS. Using WSL2 requires some familiarity with the Linux Terminal and I cover some of the basic file operations, look at enabling systemd and installing software using apt, deb packages and snap. Instructions should also cover later builds of Windows 10.
To install input: appwiz.cpl Select Turn Windows Features On or Off and Check Windows Subsystem for Linux and select Ok. Reboot your PC when prompted.
Open up the Windows Terminal (Admin). Input:
wsl -l
wsl -- list -- online
wsl --install -d Ubuntu
Open Ubuntu, create a username and password. Confirm your password. Create directories using:
mkdir ~/Documents
mkdir ~/Downloads
mkdir ~/Images
mkdir ~/Music
mkdir ~/Videos
Input:
sudo nano /etc/wsl.conf
Modify the file to include the following lines:
[boot]
systemd = true
Then open a PowerShell Prompt and input:
wsl.exe --shutdown
Open up Ubuntu and input:
systemctrl list-unit-files --type=service
To install programs using sudo use:
sudo apt update
sudo apt install nautilus
sudo apt install gedit
sudo apt install chromium
To install a downloaded deb package e.g. Google Chrome use:
cd ~/Downloads
dpkg -i google-chrome-stable_current_amd64.deb
You may need to use:
sudo apt --fix-broken install
Then reattempt to install the .deb package.
To install a snap packages use:
snap install onlyoffice-desktopeditors
#WSL #Ubuntu #Windows11

Пікірлер: 3
@prashlovessamosa
@prashlovessamosa Жыл бұрын
Your channel is very underrated
@plutorocks1
@plutorocks1 Жыл бұрын
Can you show us how to get WSL2 on Windows 10? The default is always WSL1 on Win10
@philipyip1988
@philipyip1988 Жыл бұрын
It should be wsl2 on both Windows 10 and 12 by default if the Windows build is up to date. There are some additional commands to check/specify version 2 or 1 here learn.microsoft.com/en-us/windows/wsl/install
Windows Subsystem for Linux setup WSL2 Systemd, Ansible, and Kubernetes
20:50
Install Ubuntu on Windows 11 fast using WSL2
13:02
Andrew Malkov
Рет қаралды 18 М.
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 76 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
WSL 2: Getting started
20:34
David Bombal
Рет қаралды 697 М.
How to install and get started with WSL 2 on Windows 11
7:10
Abstract programmer
Рет қаралды 59 М.
Cool Tech You’ll LOVE!
21:41
Snazzy Labs
Рет қаралды 30 М.
Ubuntu Desktop/GUI Apps on WSL | Updated Guide
8:39
TroubleChute
Рет қаралды 127 М.
Linux on Windows......Windows on Linux
23:54
NetworkChuck
Рет қаралды 272 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
Markdown Syntax (JupyterLab IDE)
18:26
Philip Yip
Рет қаралды 689
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 2,3 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,7 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,2 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 11 МЛН
Сколько реально стоит ПК Величайшего?
0:37