converttops command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
converttops: command not found
or when using sudo you get the following error message
sudo: converttops: command not found
Solutions to converttops: command not found
How To Fix converttops: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu converttops is provided by leptonica-progs package.
leptonica-progs is:
Well-tested C library for some basic image processing operations, along with a description of the functions and some design methods. A full set of affine transformations (translation, shear, rotation, scaling) on images of all depths is included, with the exception that some of the scaling methods do not work at all depths. There are also implementations of binary morphology, grayscale morphology, convolution and rank order filters, and applications such as jbig2 image processing and color quantization. You will also find basic utilities for the safe and efficient handling of arrays (of strings, numbers, number pairs and image-related geometrical objects), byte queues, generic stacks, generic lists, and endian-independent indexing into 32-bit arrays.
To fix this problem, we can install more using the command below.
sudo apt-get -y install leptonica-progs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install leptonica-progs.
sudo apt -y install leptonica-progs
Or if you have aptitude installed you can use the following command.
sudo aptitude install leptonica-progs
Summary
In this tutorial we learn how to fix converttops command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.