wpd2text: 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/wpd2text - from package: libwpd-tools

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

On Debian possible default full paths are:

/usr/bin/wpd2text - from package: libwpd-tools

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