PTcrop command not found

In this troubleshooting guide we learn how to fix PTcrop command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

PTcrop: command not found

or when using sudo you get the following error message

sudo: PTcrop: command not found

Solutions to PTcrop: command not found

How To Fix PTcrop: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu PTcrop is provided by libpano13-bin package.

libpano13-bin is:

This package contains the following tools, all part of the Panorama Tools library, and supposed to make it easy to work with panoramic images:

  • panoinfo - List details about the libpano13 library
  • PTblender - Colour and brightness correction of panoramas
  • PTcrop - Crop TIFF images
  • PTinfo - Display information about a panotools-generated image
  • PTmasker - Compute stitching masks
  • PTmender - Replacement for PTStitcher
  • PToptimizer - Wrapper around control point optimization routines
  • PTroller - Merge several images into a single one
  • PTtiff2psd - Convert a set of TIFF files into a Photoshop PSD file
  • PTtiffdump - Compare two TIFF images
  • PTuncrop - Uncrop TIFF images

To fix this problem, we can install more using the command below.

sudo apt-get -y install libpano13-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libpano13-bin.

sudo apt -y install libpano13-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install libpano13-bin

Summary

In this tutorial we learn how to fix PTcrop command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.