How to Upgrade CentOS 7 to CentOS 8
Open the terminal and run the following command to install the EPEL repository:
Now, the next step is to install the yum-util tools by running:
Execute the following command to resolve the RPM packages :
$ rpmconf -a
Then, clear all packages that aren’t required:
$ package-cleanup --orphans
CentOS uses dnf package manager as the default package manager. To install it, we use this command:
Removing the yum package manager:
$ rm -Rf /etc/yum
Upgrade CentOS 7 to CentOS 8 Using Package Manager
Upgrade the system with the dnf package manager:
Now, use the dnf to install the CentOS release package :
Next, upgrade the installed EPEL repository:
Remove all the temporary files:
Removing the old kernel from CentOS 7: Then, remove the conflicting packages :
$ rpm -e --nodeps sysvinit-tools
Next , run the upgrade for CentOS 8:
Your system needs a kernel now, so install it executing this command:
Also, install CentOS minimal package:
To confirm the current version, run this command :
Conclusion
Upgrading CentOS 7 to CentOS 8 can be a great option if you want to give a new touch to your system. CentOS 8 offers the latest features and options, so CentOS 8 is worth upgrading. We hope this article can provide valuable information on updating to CentOS 8. For more tutorials and guides, follow our website.
from https://ift.tt/3zBKBdV

0 Comments