scandeps.pl: 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/scandeps.pl - from package: perl-Module-ScanDeps

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