Skip to content

Commit

Permalink
fix(linux-requirements): Debian: fix MYSQL installation steps
Browse files Browse the repository at this point in the history
- default-libmysqlclient-dev on Debian installs mariadb libraries
- therefore install libmysqlclient-dev via mysql software repository
  • Loading branch information
sudlud committed Sep 20, 2024
1 parent 542e03a commit e741054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/linux-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sudo apt install -y install libboost1.74-dev
#### Debian 12

```sh
apt-get update && apt-get install -y git cmake make gcc g++ clang default-libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev lsb-release gnupg wget
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 wget
```

Remember that if you are using the `root` user, it is not necessary to use `sudo`.
Expand All @@ -57,7 +57,7 @@ Non-Interactive install using `DEBIAN_FRONTEND="noninteractive"` to install the
wget https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i ./mysql-apt-config_0.8.32-1_all.deb
sudo apt-get update
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server libmysqlclient-dev
```

---
Expand Down

0 comments on commit e741054

Please sign in to comment.