gpscorrelate command not found

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

Introduction

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

gpscorrelate: command not found

or when using sudo you get the following error message

sudo: gpscorrelate: command not found

Solutions to gpscorrelate: command not found

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

In Ubuntu gpscorrelate is provided by gpscorrelate package.

gpscorrelate is:

gpscorrelate fills EXIF (Exchangeable Image File Format) fields of digital photos related to GPS (Global Positioning System) information (e.g.: GPSLatitude, GPSLongitude, GPSAltitude, …). The act of filling those fields is referred to as “correlation”.

Inputs of the correlation process are a set of JPEG images and GPS data encoded in GPX (GPS Exchange Format) format.

If GPS data are available at the precise moment the photo was taken (with a 1-second granularity) the GPS data are stored unmodified in EXIF fields. If they are not linear interpolation of GPS data available at moments before and after the photo was taken can be used.

Both a command line tool (package gpscorrelate) and a GTK+ graphical user interface for it (package gpscorrelate-gui) are provided.

This package contains the command line tool and the documentation in HTML format.

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

sudo apt-get -y install gpscorrelate

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

You can also use apt command to install gpscorrelate.

sudo apt -y install gpscorrelate

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

sudo aptitude install gpscorrelate

Summary

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