pub2xhtml: 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/pub2xhtml - from package: libmspub-tools

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