dpkg-purge: 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/sbin/dpkg-purge - from package: dlocate

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