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

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

On Debian possible default full paths are:

/usr/bin/sudoedit - from package: sudo-ldap
/usr/bin/sudoedit - from package: sudo

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