latexfileversion: 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/latexfileversion - from package: texlive-extra-utils

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