- A system running Ubuntu 18.04
- Access to a user account with sudo privileges
Installing MySQL in Ubuntu Using Terminal
This guide assumes you’re installing to a local system. If you need to set up encryption or security certificates for configuring a remote server, please refer to this guide.
Step 1: Enable MySQL Repositories
Your installation of Ubuntu 18.04 may not have access to MySQL repositories.
To download the latest repositories, enter:
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.11-1_all.deb
The system should respond by reaching out to the server and downloading the .deb configuration file. A progress bar displays to let you know when the download is completed.