pcl_oni_viewer: 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/pcl_oni_viewer - from package: pcl-tools

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

On Debian possible default full paths are:

/usr/bin/pcl_oni_viewer - from package: pcl-tools

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