
Introduction
In this chapter, you will learn about the installing, upgrading, and downgrading steps of MySQL 8. There are five different ways to install or upgrade; the three most widely-used installation methods are covered in this chapter:
- Software repositories (YUM or APT)
- RPM or DEB files
- Generic Binaries
- Docker (not covered)
- Source code compilation (not covered)
If you have already installed MySQL and want to upgrade, go through the upgrade steps in the Upgrade to MySQL 8 section. If your installation is corrupt, go through the uninstallation steps also in the Upgrade to MySQL 8 section.
Before installation, make a note of OS and CPU architecture. The convention followed is as follows:
MySQL Linux RPM package distribution identifiers

MySQL Linux RPM package CPU identifiers

MySQL Debian and Ubuntu 7 and 8 installation packages CPU identifiers

MySQL Debian 6 Installation package CPU identifiers
