unexpand: 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/unexpand - from package: coreutils

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

On Debian possible default full paths are:

/usr/bin/unexpand - from package: coreutils

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