Upgrading CentOS to a newer version

General support questions
Post Reply
expmrb
Posts: 26
Joined: 2019/02/19 14:31:35

Upgrading CentOS to a newer version

Post by expmrb » 2019/05/12 16:30:05

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?

User avatar
TrevorH
Forum Moderator
Posts: 28088
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrading CentOS to a newer version

Post by TrevorH » 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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

expmrb
Posts: 26
Joined: 2019/02/19 14:31:35

Re: Upgrading CentOS to a newer version

Post by expmrb » 2019/05/13 04:14:51

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.

User avatar
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Upgrading CentOS to a newer version

Post by avij » 2019/05/13 04:54:27

Or you can continue using 7. It will still be supported for many years. Whatever suits your situation best.

Post Reply

Return to “CentOS 7 - General Support”