Page 1 of 1

Upgrading CentOS to a newer version

Posted: 2019/05/12 16:30:05
by expmrb
If I have to upgrade to a newer version of CentOS (say CentOS 8 for example). Then will I have to reinstall all over the CentOS installation? Or, a simple 'yum update && upgrade' will do?

Re: Upgrading CentOS to a newer version

Posted: 2019/05/12 17:38:33
by TrevorH
Running yum update will get you to the latest in any given major version number but will not move you between versions. So yum update will take you from 7.x to 7.y but not to 8.x. There is no upgrade path from one major version to the next, it's a reinstall.

Re: Upgrading CentOS to a newer version

Posted: 2019/05/13 04:14:51
by expmrb
TrevorH wrote:
2019/05/12 17:38:33
Running yum update will get you to the latest in any given major version number but will not move you between versions. So yum update will take you from 7.x to 7.y but not to 8.x. There is no upgrade path from one major version to the next, it's a reinstall.
So, now if CentOS 8 is released then I have reinstall. Anyway, thanks for the info.

Re: Upgrading CentOS to a newer version

Posted: 2019/05/13 04:54:27
by avij
Or you can continue using 7. It will still be supported for many years. Whatever suits your situation best.