Install gpxinfo by entering the following commands in the terminal:
sudo apt update sudo apt install gpxinfo
Description:
Command line utility to extract basic statistics from a GPX file
gpxinfo extracts basic statistics from a GPX file. It prints meta info about the file and calculates data about tracks and routes in the file, among which are times, distances, and uphill and downhill information. . gpxinfo uses the gpxpy library.
Homepage: http://www.trackprofiler.com/gpxpy/index.html
Version: 1.1.2-1
Section: universe/utils