Linux Requirements
- MySQL
- Boost ≥ 1.74
- OpenSSL ≥ 3.0.x
- CMake ≥ 3.16
- OS
- GCC / CLang
Ubuntu with MySQL 8.x
sh
sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-devRemember that if you are using the root user, it is not necessary to use sudo.
To configure MySQL in Ubuntu and similar (set root password and other settings) read this guide.
Debian 12
sh
apt-get update && apt-get install -y git cmake make gcc g++ clang libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev lsb-release gnupg wgetRemember that if you are using the root user, it is not necessary to use sudo.
Note: By using the option -y, it will start installing without the need for you to confirm.
Install MySQL
- Visit the MySQL APT repository page to verify and download the latest script version.
sh
export MYSQL_APT_CONFIG_VERSION=0.8.33-1- Download the latest MySQL repository information package.
sh
wget https://dev.mysql.com/get/mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb- (Recommended) Verify config authenticity. If you encounter any issues with this step, please refer to: https://dev.mysql.com/doc/refman/8.4/en/checking-gpg-signature.html
sh
wget "https://dev.mysql.com/downloads/gpg/?file=mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb&p=37" -O mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb.asc
gpg --keyserver pgp.mit.edu --recv-keys A8D3785C
gpg --verify mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb.asc mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb
rm -v mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb.asc- Non-Interactive install using
DEBIAN_FRONTEND="noninteractive"to install the latest MYSQL-LTS release, e.g.mysql-8.4-ltswithout any user prompts showing up.
sh
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i ./mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb
rm -v ./mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb
unset MYSQL_APT_CONFIG_VERSION
sudo apt-get update
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server libmysqlclient-devCheck your clang version
sh
clang --versionYour clang version MUST be equal or higher than the required version listed on the top of this page.
Check your cmake version
sh
cmake --versionYour cmake version MUST be equal or higher than the required version listed on the top of this page.
Check your openssl version
sh
openssl versionYour openssl version MUST be equal or higher than the required version listed on the top of this page.
Help
If you are still having problems, check:
- FAQ
- Common Errors
- How to ask for help
- Join our Discord Server, but it is not a 24/7 support channel. A staff member will answer you whenever they have time.