wslview command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wslview: command not found
or when using sudo you get the following error message
sudo: wslview: command not found
Solutions to wslview: command not found
How To Fix wslview: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wslview is provided by wslu package.
wslu is:
This is a collection of utilities for the Windows 10 Linux Subsystem, such as for converting Linux paths to a Windows paths or creating Linux application shortcuts on the Windows 10 Desktop.
Requires Windows 10 Creators Update and higher.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wslu
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wslu.
sudo apt -y install wslu
Or if you have aptitude installed you can use the following command.
sudo aptitude install wslu
Summary
In this tutorial we learn how to fix wslview command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.