dgpart: 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/dgpart - from package: ptscotch

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