pcl_linemod_detection: 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_linemod_detection - 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_linemod_detection - from package: pcl-tools

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