sgdisk: 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/sbin/sgdisk - from package: gdisk

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

On Debian possible default full paths are:

/sbin/sgdisk - from package: gdisk

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