How To Install gpsprune on Ubuntu 22.04

In this tutorial we learn how to install gpsprune on Ubuntu 22.04. gpsprune is visualize, edit, convert and prune GPS data

Introduction

In this tutorial we learn how to install gpsprune on Ubuntu 22.04.

What is gpsprune

gpsprune is:

GpsPrune is an application for viewing, editing and converting coordinate data from GPS systems. It’s a tool for preparing GPS data before you go on a trip, and for playing with your collected GPS data after you get home again.

It can load data from arbitrary text-based formats (for example, any tab-separated or comma-separated file) or XML, or directly from a GPS receiver. It can display the data (as map view using OpenStreetMap images and as altitude profile), edit this data (for example delete points and ranges, sort waypoints, compress tracks), and save the data (in various text-based formats). It can also export data as a GPX file, or as KML/KMZ for import into Google Earth, or send it to a GPS receiver.

Some example uses of GpsPrune include cleaning up tracks by deleting wayward points - either recorded by error or by unintended detours. It can also be used to compare and combine tracks, convert to and from various formats, compress tracks, export data to Google Earth, or to analyse data to calculate distances, altitudes and so on.

Furthermore, GpsPrune is able to display the tracks in 3d format and lets you spin the model round to look at it from various directions. You can also export the model in POV format so that you can render a nice picture using Povray. You can also create charts of altitudes or speeds. It can also load Jpegs and read their coordinates from the EXIF tags, and export thumbnails of these photos to Kmz format so that they appear as popups in Google Earth. If your photos don’t have coordinates yet, GpsPrune can be used to connect them (either manually or automatically using the photo timestamps) to data points, and write these coordinates into the EXIF tags.

There are three methods to install gpsprune on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gpsprune Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gpsprune using apt-get by running the following command:

sudo apt-get -y install gpsprune

Install gpsprune Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gpsprune using apt by running the following command:

sudo apt -y install gpsprune

Install gpsprune Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gpsprune using aptitude by running the following command:

sudo aptitude -y install gpsprune

How To Uninstall gpsprune on Ubuntu 22.04

To uninstall only the gpsprune package we can use the following command:

sudo apt-get remove gpsprune

Uninstall gpsprune And Its Dependencies

To uninstall gpsprune and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove gpsprune

Remove gpsprune Configurations and Data

To remove gpsprune configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge gpsprune

Remove gpsprune configuration, data, and all of its dependencies

We can use the following command to remove gpsprune configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gpsprune

References

Summary

In this tutorial we learn how to install gpsprune package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.