Looking for a package by name:

yum search boost-devel  

Installing a package:

yum install boost-devel  

Inspecting the content of a package

yum install yum-utils  
repoquery --list boost-devel  

Getting information of a package

yum info boost-devel  

Checking the CentOS version:

cat /etc/*release*