w_scan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
w_scan: command not found
or when using sudo you get the following error message
sudo: w_scan: command not found
Solutions to w_scan: command not found
How To Fix w_scan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu w_scan is provided by w-scan package.
w-scan is:
w_scan scans for DVB-S/S2, DVB-T, DVB-C and ATSC channels and creates a channels.conf, that can be used directly by the Linux Video Disc Recorder VDR. It is also possible to output channels in a format readable by the czap/tzap tools provided by linuxtv-dvb-zap, xine, totem, kaffeine or me-tv.
Unlike the scan utility in linuxtv-dvb-apps, there is no need to specify an initial transponder and w_scan automatically detects the DVB or ATSC card to be used.
To fix this problem, we can install more using the command below.
sudo apt-get -y install w-scan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install w-scan.
sudo apt -y install w-scan
Or if you have aptitude installed you can use the following command.
sudo aptitude install w-scan
Summary
In this tutorial we learn how to fix w_scan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.