Arch Linux on Windows

preview_player
Показать описание

Looking for an excellent bank account? You can receive a free 25$ USD when signing up for an account with SoFi Bank using my referral link below. This is my personal bank of choice, and I also get a kickback for signups, so it's a great way to support the channel.

Connect

Featuring Music From:
Cruen's "On Deck (Remix)"

~
0:00 - Bumbo XO
0:20 - WTF Am I on Windows?
1:07 - Windows Subsystem for Linux
3:44 - Winget
5:10 - Turning on WSL
5:39 - Installing Arch
8:55 - Outro
Рекомендации по теме
Комментарии
Автор

Cool I have been using Debian WSL because of some college apps that only run in Windows and didn't know about the arch one, will definitely switch to it.
Thanks a lot!

davidterceiro
Автор

you can also just create a docker container with whatever distro you want, export it to a tar file, then import it into WSL. i just installed Arch on my system the other day like that and it was super easy.

alefnull
Автор

DYK Arch Linux was in the Store when WSL came out beta circa 2018
I was hoping for a long stream 😁

EeshanShukla
Автор

Bro You sound exactly like Anthony from LTT !!
I'm glad i discovered your channel nice video mate!!

the.apprenant
Автор

With 'GWSL' from the Ms Store, you can run DE's through WSL. Currently it's only confirmed to work with mate, xfce and lxde, but it might be possible to run anything. You can also get GPU drivers for WSL from both Nvidia and AMD. Idk if they could be used to run a full DE or WM properly on a WSL distro.

mauno
Автор

Now, how do I install a window manager and rice it ?

vypstzn
Автор

can you create a file called "con" through arch?

shafi
Автор

I imagine this is WSL2 and not the first version. Am I correct?

learningbird
Автор

lmao, I did the complete opposite and finally got rid of dual boot and installed Windows under QEMU/KVM on Arch. And I am not joking, but it runs smoother inside a freaking VM than what it did on my hardware without any tweaks (even when it was the only OS), so I don't know what to say... Is it because it's not registered so a lot of garbage isn't activated cause the process count out of the box was also lower. Obviously, it's not for games and whatever requires a lot of processing and GPU power (though you can passthrough a GPU if you need that), but I don't need any of that to begin with. Just gotta use some proprietary garbage from Microsoft for some dumb reasons.

ahmadshahzad
Автор

I like to install Arch Linux on WSL manually from the official archlinux-bootstrap image.

tar -zxvf
cd root.x86_64
tar -zcvf arch_bootstrap.tar.gz .

wsl --import Arch C:\Users\Michael\WSL2\Arch

- Launch the installation: wsl -d Arch
- Initialize the keyring required to run pacman: pacman-key --init
- Fill the new keyring with Arch's latest set of keys: pacman-key --populate archlinux
- Update the repos and install the latest packages: pacman -Syu
- There will also be a handful of missing "base" packages that are always useful to have and can be installed with: pacman -S base base-devel

useradd -m -g users -G wheel, audio, video, disk, storage, optical, scanner, rfkill, input -s /bin/bash michael
passwd michael

Add Arch Linux to Windows Terminal

Open the settings menu of windows terminal:

- Name: Arch Linux Michael
- Command Line: `wsl ~ -u michael`
- Starting directory: `%USERPROFILE%` (remove the tick under *Use parent process directory*)
- Choose your own *Icon*
- Choose your own *Tab title*

micleh