leafnode-version: 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/leafnode-version - from package: leafnode

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