rl2tool command not found

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

Introduction

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

rl2tool: command not found

or when using sudo you get the following error message

sudo: rl2tool: command not found

Solutions to rl2tool: command not found

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

In Ubuntu rl2tool is provided by rasterlite2-bin package.

rasterlite2-bin is:

librasterlite2 is an open source library that stores and retrieves huge raster coverages using a SpatiaLite DBMS.

It is intended to completely replace and supersede librasterlite. The two projects are completely unrelated: the unique similarity between both is just in covering the same identical application area.

This package contains command-line tools to use librasterlite2.

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

sudo apt-get -y install rasterlite2-bin

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

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

sudo apt -y install rasterlite2-bin

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

sudo aptitude install rasterlite2-bin

Summary

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