mifare-desfire-format: 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

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/mifare-desfire-format - from package: libfreefare-bin

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