parted: 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:

/sbin/parted - from package: parted

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

On Debian possible default full paths are:

/sbin/parted - from package: parted

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