wks2text: 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/wks2text - from package: libwps-tools

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