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

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

On Debian possible default full paths are:

/usr/bin/xsane - from package: xsane

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