allneeded: 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 CentOS possible default full paths are:

/usr/bin/allneeded - from package: texlive-dvips

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/allneeded - from package: texlive-base

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