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

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