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

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