roslocate: 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/roslocate - from package: python-rosinstall

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