patchedit: 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/patchedit - from package: pkg-perl-tools

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