odfsearch: 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/odfsearch - from package: libopenoffice-oodoc-perl

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