Information about the package, yum-cron, which is shipped with common Linux distributions. The yum-cron package is designed for, Files needed to run yum updates as a cron job.
Package Name:
yum-cron
Summary:
Files needed to run yum updates as a cron job
Description:
These are the files needed to run yum updates as a cron job. Install this package if you want auto yum updates nightly via cron.
Architecture:
noarch
Version:
3.2.29
Release:
81.el6.centos
Size:
46 k
Repository:
base
From Repository:
Licence:
GPLv2+
Control the yum-cron package with the following handy commands outlined below.
yum install yum-cron
This command will install yum-cron on the server.
yum remove yum-cron
This command will un-install yum-cron on the server. When you run this command, you will be asked if you are sure that you want to remove yum-cron, so you have to manually confirm that you want to do this.
yum -y remove yum-cron
This command will un-install yum-cron 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 yum-cron when using the -y flag.
yum update yum-cron
This command will update yum-cron to the latest version. When you run this command, you will be asked if you are sure that you want to remove yum-cron, so you have to manually confirm that you want to do this.
yum -y update yum-cron
This command will update yum-cron 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 yum-cron when using the -y flag.
yum info yum-cron
This command will show you core information about the yum-cron package.
yum deplist yum-cron
This command will show you the dependencies for yum-cron. 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 yum-cron
This command will check if there is an update waiting on yum-cron. 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.