[CentOS] New to Centos and have question about updating packages

Lanny Marcus lmmailinglists at gmail.com
Sun Dec 7 17:21:47 UTC 2008


On Sun, Dec 7, 2008 at 12:17 PM, Darrell Betts <betts at norden1.com> wrote:
> I have been using Freebsd for along time. I have a client of mine that
> wants me to use Centos for his email server and web server. Anyway
> with Freebsd to update the packages file you use the following commands.
> portsnap fetch fetches all the current port trees
> portsnap update adds all the new ports to the tree on the server
> portupgrade -arR will install all the ports that are installed on the
> server.
>  Now my question is what are the commands for Centos to fetch ,update
> and install, all the packages installed on the server. I would like to
> use Yum. Any help would be great.

"yum update" will do it for you. Normally, you will not need to reboot
after updating, unless you update the kernel or several other packages
that require a reboot.


More information about the CentOS mailing list