# Check CentOS version lsb_release -a rpm --query centos-release # Upgrade a package yum upgrade <package_name>