pktools-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pktools-config: command not found
or when using sudo you get the following error message
sudo: pktools-config: command not found
Solutions to pktools-config: command not found
How To Fix pktools-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pktools-config is provided by pktools-dev package.
pktools-dev 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, and 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.
This package contains the files needed to develop a software that uses the pktools libraries.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pktools-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pktools-dev.
sudo apt -y install pktools-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install pktools-dev
Summary
In this tutorial we learn how to fix pktools-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.