gpx2osm: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/gpx2osm - from package: foxtrotgps

You may install the required package with command apt-get install {package}
Error in other languages:
gpx2osm: bevel nie gevind nie
gpx2osm: comandă negăsită
gpx2osm: comando não encontrado
gpx2osm: commande introuvable
gpx2osm: command not found
gpx2osm: käsku ei ole
gpx2osm: không tìm thấy lệnh
gpx2osm: komanda nerasta
gpx2osm: Kommando nicht gefunden.
gpx2osm: kommandot finns inte
gpx2osm: komut yok
gpx2osm: nie znaleziono polecenia
gpx2osm: níor aimsíodh an t-ordú
gpx2osm: no se encontró la orden
gpx2osm: no s'ha trobat l'ordre
gpx2osm: opdracht niet gevonden
gpx2osm: parancs nem található
gpx2osm: perintah tidak ditemukan
gpx2osm: príkaz nenájdený
gpx2osm: příkaz nenalezen
gpx2osm: команда не найдена
gpx2osm: командата не е открита
gpx2osm: 命令找不到
gpx2osm: コマンドが見つかりません