mkdist: 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/mkdist - from package: libmodule-package-rdf-perl

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