< Home - < Back

centos-release


Information about the package, centos-release, which is shipped with common Linux distributions. The centos-release package is designed for, CentOS release file.


Package Name:

centos-release

Summary:

CentOS release file

URL:

Description:

CentOS release files

Architecture:

x86_64

Version:

6

Release:

9.el6.12.3

Size:

36 k

Repository:

installed

From Repository:

base

Licence:

GPLv2



Handy Yum Commands for centos-release


Control the centos-release package with the following handy commands outlined below.


Command

Description of Command

yum install centos-release

This command will install centos-release on the server.

yum remove centos-release

This command will un-install centos-release on the server. When you run this command, you will be asked if you are sure that you want to remove centos-release, so you have to manually confirm that you want to do this.

yum -y remove centos-release

This command will un-install centos-release on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove centos-release when using the -y flag.

yum update centos-release

This command will update centos-release to the latest version. When you run this command, you will be asked if you are sure that you want to remove centos-release, so you have to manually confirm that you want to do this.

yum -y update centos-release

This command will update centos-release to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove centos-release when using the -y flag.

yum info centos-release

This command will show you core information about the centos-release package.

yum deplist centos-release

This command will show you the dependencies for centos-release. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update centos-release

This command will check if there is an update waiting on centos-release. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.