renatoheeb.com

Fedora 39

Intro

Article@Fedora Mag: Fedora Magazine
A collection of utilities for WSL: https://github.com/wslutilities/wslu
Copr: wslutilities/wslu
Brew: Brew

Get Fedora

Fedora 39

Run Fedora

cd c:\distros
mkdir fedora39
."C:\Program Files\7-Zip\7z.exe" e fedora-39-x86_64.tar.xz
wsl --import fedora39 c:\distros\fedora39 .\fedora-39-x86_64.tar
rm .\fedora-39-x86_64.tar*

wsl -d fedora39

Setup Fedora basics

dnf update
dnf install wget curl sudo ncurses dnf-plugins-core dnf-utils passwd findutils
useradd -G wheel heebinho
passwd heebinho

Windows Registry & Terminal profile

wsl -l -v
Get-ItemProperty Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\*\ DistributionName | Where-Object -Property DistributionName -eq fedora39  | Set-ItemProperty -Name DefaultUid -Value 1000

Copy ubuntu profile and adjust parameters in windows terminal

WSL utilities (wslu)

Install wslu

The utilities are available from a copr repository (copr -> community project).
Either:

The canary repo worked this time on the contrary to the "stable" release. By the way the origin of the word canary according to TechTarget

The word canary describes the rollout of software code to a subset of real end users. The term originated from coal mining and the phrase "canary in the coal mine." Canary birds have a lower tolerance to toxic gases than humans, so they were used to alert miners when these gases reached dangerous levels inside the mine.

$ sudo dnf copr enable wslutilities/wslu
$ sudo dnf install wslu

$ sudo dnf copr enable wslutilities/wslu-canary
$ sudo dnf install wslu

$ wslsys

wslu
wslu blog
wslu canary announcement

Setup Fedora further

$ sudo dnf install git nano vim 
$ sudo dnf groupinstall "Development Tools"