You can install wslu
on Alpine Linux 3.12+ with the following command:
sudo apk add wslu
You can install wslu
with the following methods:
- If not done so, initial
pacman-key
withpacman-key --init
; - download the WSL Utilities Package Signing Key from our website and import it into
pacman
:
wget https://pkg.wslutiliti.es/public.key
pacman-key --add public.key
- Locally sign the key with
pacman-key --lsign-key 2D4C887EB08424F157151C493DD50AA7E055D853
; - add the following content in your
/etc/pacman.conf
:
[wslutilities]
Server = https://pkg.wslutiliti.es/arch/
- run
pacman -Sy && pacman -S wslu
to install.
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/CentOS_7/home:wslutilities.repo
sudo yum install wslu
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/RHEL_7/home:wslutilities.repo
sudo yum install wslu
You can install wslu
with the following command:
sudo apt install gnupg2 apt-transport-https
wget -O - https://pkg.wslutiliti.es/public.key | sudo gpg -o /usr/share/keyrings/wslu-archive-keyring.pgp --dearmor
echo "deb [signed-by=/usr/share/keyrings/wslu-archive-keyring.pgp] https://pkg.wslutiliti.es/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") main" | sudo tee /etc/apt/sources.list.d/wslu.list
sudo apt update
sudo apt install wslu
# for CentOS/RHEL 8 only
sudo dnf install epel-release dnf-plugins-core
sudo dnf config-manager --set-enabled PowerTools
sudo dnf copr enable wslutilities/wslu
sudo dnf install wslu
Preinstalled.
You can install wslu
with the following command:
sudo apt install gnupg2 apt-transport-https
wget -O - https://pkg.wslutiliti.es/public.key | sudo gpg -o /usr/share/keyrings/wslu-archive-keyring.pgp --dearmor
echo "deb [signed-by=/usr/share/keyrings/wslu-archive-keyring.pgp] https://pkg.wslutiliti.es/kali kali-rolling main" | sudo tee -a /etc/apt/sources.list.d/wslu.list
sudo apt update
sudo apt install wslu
Preinstalled.
You can install wslu
with the following command:
sudo yum install wslu
Add the EPEL repository:
sudo dnf install -y epel-release
You can install wslu
with the following command:
sudo dnf install -y wslu
::: tip INFO
For Ubuntu universe
version, you should only report bug at Launchpad; for the PPA version, you should report bugs at the GitHub issues.
:::
::: warning
Starting from Ubuntu 22.04 LTS, Ubuntu on WSL no longer bundled with wslu
. Please install the PPA version.
:::
Preinstalled before Ubuntu 22.04 LTS. On older installations of Ubuntu please install ubuntu-wsl
that depends on wslu
:
sudo apt update
sudo apt install ubuntu-wsl
To install the latest version of wslu
, you can install via our PPA: https://launchpad.net/~wslutilities/+archive/ubuntu/wslu
sudo add-apt-repository ppa:wslutilities/wslu
sudo apt update
sudo apt install wslu
You can install wslu
with the following command:
SUSE_VERSION="$(grep VERSION= /etc/os-release | sed -e s/VERSION=//g -e s/\"//g -e s/-/_/g)"
sudo zypper addrepo https://copr.fedorainfracloud.org/coprs/wslutilities/wslu/repo/opensuse-leap-${SUSE_VERSION}/wslutilities-wslu-opensuse-leap-${SUSE_VERSION}.repo
sudo zypper ref
sudo zypper in wslu
sudo zypper addrepo https://copr.fedorainfracloud.org/coprs/wslutilities/wslu/repo/opensuse-tumbleweed/wslutilities-wslu-opensuse-tumbleweed.repo
sudo zypper ref
sudo zypper in wslu
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/SLE_12_SP5/home:wslutilities.repo
sudo zypper addrepo https://download.opensuse.org/repositories/graphics/SLE_12_SP5/graphics.repo
sudo zypper ref
sudo zypper in wslu
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/SLE_15/home:wslutilities.repo
sudo zypper addrepo https://download.opensuse.org/repositories/graphics/SLE_15_SP3/graphics.repo
sudo zypper ref
sudo zypper in wslu
You can install wslu
with the following command:
sudo xbps-install wslu
You can install wslu
with the following command:
sudo swupd 3rd-party add wslutilities https://pkg.wslutiliti.es/clearlinux
sudo swupd 3rd-party bundle-add wslu
⚠ Not Recommend
curl | bash
method is not secure. Related article
You can install wslu
with the following command on your preferred distribution: curl -sL https://raw.githubusercontent.com/wslutilities/wslu/master/extras/scripts/wslu-install | bash
wslu
is part of wsl-translinux apt repository.
Following the guidelines Here to add the repository. Then you can simply run sudo apt install wslu
to install wslu
.
However, with lack of support, I moved my packages to my own apt repository.
git clone --branch v1.2 https://github.com/patrick330602/wslu.git ~/.wslu
cd ~/.wslu
./configure -i
git clone --branch v1.1 https://github.com/patrick330602/wslu.git
#for 1.0: change 1.1 to 1.0
cd wslu
sudo make install
To uninstall, run sudo make uninstall
directly run wslu-dev
after cloning.