cdfweight: 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/cdfweight - from package: cdftools

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