ltpretty: 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/ltpretty - from package: liblatex-table-perl

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