pkdsm2shadow command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pkdsm2shadow: command not found
or when using sudo you get the following error message
sudo: pkdsm2shadow: command not found
Solutions to pkdsm2shadow: command not found
How To Fix pkdsm2shadow: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pkdsm2shadow is provided by pktools package.
pktools is:
Pktools is a collection of programs to perform operations, mostly on raster geolocated images. It heavily relies on the Geospatial Data Abstraction Library (GDAL) and OGR. The programs are similar to the GDAL tools (gdalinfo, gdal_translate, gdal_merge, …) and some of the functionalities provided in pktools already exist in the GDAL tools.
All utilities in pktools use command line options and have a built in help. They include more than thirty binaries to edit, change, crop, classify, compare, dump, fill, enhance images and many other common operations useful in the remote sensing field of image analysis.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pktools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pktools.
sudo apt -y install pktools
Or if you have aptitude installed you can use the following command.
sudo aptitude install pktools
Summary
In this tutorial we learn how to fix pkdsm2shadow command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.