This is the easy part. In Debian-based distributions, the package is mysql-server. As the package is installed, you will be asked to specify the password for the administrator (root) account. You need to remember this password because you’ll need it later on.
The mysql daemon automatically starts in the installation process.