dzedit: 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/dzedit - from package: cernlib-packlib

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

On Debian possible default full paths are:

/usr/bin/dzedit - from package: dzedit

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