Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.md #2441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions pages/02.administer/10.install/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ mkdir -p WSL\YunoHost
# Download the Debian appx package and unzip it
curl.exe -L -o debian.zip https://aka.ms/wsl-debian-gnulinux
Expand-Archive .\debian.zip -DestinationPath .\debian
# Import the Debian base into a new distro
# Import the Debian base into a new distro - optional -
# depending on your powershell version you may need to run the installer manually from debian folder
# which will result ext4.vhdx being stored in AppData\Local\Packages\DebianProject(full-name)\LocalState
# instead of YunoHost directory (so it's a part of MStore - nothing unorthodox)
wsl --import YunoHost ~\WSL\YunoHost ~\debian\install.tar.gz --version 2
# Cleanup
rmdir .\debian -R
Expand All @@ -223,8 +226,11 @@ It is under Debian 9 Stretch, so let's upgrade it:
# In WSL
sudo sed -i 's/stretch/bullseye/g' /etc/apt/sources.list`
sudo apt update
sudo apt upgrade
sudo apt upgrade -y
# optional
sudo apt dist-upgrade
# wget needed for later setup
sudo apt install wget -y
```

## Prevent WSL from tweaking configuration files
Expand Down