wslu - A collection of utilities for Windows 10 Linux Subsystems

(775 views)

This is a collection of utilities for the Windows 10 Linux Subsystem, such as retrieving Windows 10 environment variables or creating your favorite Linux GUI application shortcuts on Windows 10 Desktop.

Requires Windows 10 Creators Update; Some of the features require a higher version of Windows 10; Supports WSL2.

Feature

wslusc

A WSL shortcut creator to create a shortcut on your Windows 10 Desktop.

wslsys

A WSL system information printer to print out system informations from Windows 10 or WSL.

wslfetch

A WSL screenshot information tool to print information in an elegant way.

wslvar

A WSL tool to help you get Windows system environment variables.

wslview

With alias wview/wslstart/wstart

A fake WSL browser that can help you open link in default Windows browser or open files on Windows.

wslupath

âš  Deprecated

A WSL tool to convert path styles.

wslact

A set of quick actions for WSL such as quickly mounting all drives or manually sync time between Windows and WSL.

Currently supported Distro

Community Supported Distro

*: Will support in the future.

**: you need to request to using RHEL from Whitewater Foundary and have a license of RHEL of your own.

Legacy Ubuntu is no longer supported.

Bug

Report bugs to https://github.com/wslutilities/wslu/issuesopen in new window.

Report bugs for Ubuntu version to https://bugs.launchpad.net/ubuntu/+source/wsluopen in new window.

Installation

Alpine Linux

You can install wslu on Alpine Linux 3.12+ with the following command:

sudo apk add wslu

Arch Linux

You can install wslu with the following methods:

  1. If not done so, initial pacman-key with pacman-key --init;
  2. add the WSL Utilties Public Signing Key to pacman from the keyserver from keyserver using pacman-key -r A2861ABFD897DD37 or download from our website and import the key:
wget https://pkg.wslutiliti.es/public.key
pacman-key --add public.key
  1. Locally sign the key with pacman-key --lsign-key A2861ABFD897DD37;
  2. add the following content in your /etc/pacman.conf:
[wslutilities]
Server = https://pkg.wslutiliti.es/arch/
  1. run pacman -Sy && pacman -S wslu to install.

CentOS/RHEL/Oracle Linux

Add the repository for the corresponding Linux distribution:

  • CentOS 7:
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/CentOS_7/home:wslutilities.repo
  • CentOS 8:
sudo dnf install -y epel-release 
sudo dnf config-manager --set-enabled PowerTools
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/CentOS_8/home:wslutilities.repo
  • Oracle Linux 7:
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/RHEL_7/home:wslutilities.repo
  • Oracle Linux 8:
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-$(/bin/arch)-rpms
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/CentOS_8/home:wslutilities.repo
  • Red Hat Enterprise Linux 7:
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/RHEL_7/home:wslutilities.repo
  • Red Hat Enterprise Linux 8:
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-$(/bin/arch)-rpms
sudo yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/wslutilities/CentOS_8/home:wslutilities.repo

Then install with the command sudo yum install wslu.

Debian

You can install wslu with the following command:

sudo apt install gnupg2 apt-transport-https
wget -O - https://pkg.wslutiliti.es/public.key | sudo tee -a /etc/apt/trusted.gpg.d/wslu.asc

# Debian 10
echo "deb https://pkg.wslutiliti.es/debian buster main" | sudo tee -a /etc/apt/sources.list
# Debian 11
echo "deb https://pkg.wslutiliti.es/debian bullseye main" | sudo tee -a /etc/apt/sources.list

sudo apt update
sudo apt install wslu

Fedora

sudo dnf copr enable wslutilities/wslu
sudo dnf install wslu

Fedora Remix for WSL

Preinstalled.

Kali Linux

You can install wslu with the following command:

sudo apt install gnupg2 apt-transport-https
wget -O - https://pkg.wslutiliti.es/public.key | sudo tee -a /etc/apt/trusted.gpg.d/wslu.asc
echo "deb https://pkg.wslutiliti.es/kali kali-rolling main" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install wslu

Pengwin

Preinstalled.

Pengwin Enterprise 7

You can install wslu with the following command:

sudo yum install wslu

Pengwin Enterprise 8

Add the EPEL repository:

sudo dnf install -y epel-release

You can install wslu with the following command:

sudo dnf install -y wslu

Ubuntu

Attention!

For Ubuntu version, you should not only report bug here but also report bug at Launchpadopen in new window.

Preinstalled in the latest apps. 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/wsluopen in new window

OpenSUSE

You can install wslu with the following command:

Leap 15.1 - 15.2

SUSE_VERSION="$(grep VERSION= /etc/os-release | sed -e s/VERSION=//g -e s/\"//g -e s/-/_/g)"
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/openSUSE_Leap_${SUSE_VERSION}/home:wslutilities.repo
sudo zypper up
sudo zypper in wslu

Leap 15.3 - 15.4

SUSE_VERSION="$(grep VERSION= /etc/os-release | sed -e s/VERSION=//g -e s/\"//g -e s/-/_/g)"
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/${SUSE_VERSION}/home:wslutilities.repo
sudo zypper up
sudo zypper in wslu

Tumbleweed

sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/openSUSE_Tumbleweed/home:wslutilities.repo
sudo zypper up
sudo zypper in wslu

SUSE Linux Enperprise Server

You can install wslu with the following command:

SLESCUR_VERSION="$(grep VERSION= /etc/os-release | sed -e s/VERSION=//g -e s/\"//g -e s/-/_/g)"
sudo zypper addrepo https://download.opensuse.org/repositories/home:/wslutilities/SLE_$SLESCUR_VERSION/home:wslutilities.repo
sudo zypper addrepo https://download.opensuse.org/repositories/graphics/SLE_12_SP3_Backports/graphics.repo
sudo zypper up
sudo zypper in wslu

Other distributions

âš  Not Recommend

curl | bash method is not secure. Related articleopen in new window

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

For Older Verions

Install from wsl-translinux

wslu is part of wsl-translinuxopen in new window apt repository.

Following the guidelines Hereopen in new window 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.

Install version 1.2

git clone --branch v1.2 https://github.com/patrick330602/wslu.git ~/.wslu
cd ~/.wslu
./configure -i

Install version 1.1/1.0

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

Install pre-releases

directly run wslu-dev after cloning.


https://github.com/wslutilities/wslu

March 31, 2022
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023
What certifications or qualifications do you hold?
Max. file size: 150 MB.
What level of experience should the ideal candidate have?
What certifications or qualifications are preferred?

Download Free eBook

Step 1 of 4

Name(Required)

We’re committed to your privacy. Hakin9 uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.