install mariadb ubuntu code example

Example 1: ubuntu install mariadb

sudo apt update
sudo apt-get -y install mariadb-server
sudo mysql_secure_installation
sudo systemctl start mariadb
sudo systemctl enable mariadb

Example 2: install mariadb

sudo apt update
sudo apt-get -y install mariadb-server
sudo systemctl start mariadb
sudo systemctl enable mariadb

Example 3: how to install mariadb on debian

sudo apt install mariadb-server

Example 4: install pybind ubuntu

# Some prerequisites (but not all of them)
apt-get install cmake
pip3 install pytest

# Clone, build and install 
git clone https://github.com/pybind/pybind11.git 
cd pybind11 
mkdir build 
cd build 
cmake .. 
make install

Example 5: ubuntu install MariaDB

sudo add-apt-repository "deb [arch=amd64,arm64,ppc64el] http://mariadb.mirror.liquidtelecom.com/repo/10.4/ubuntu $(lsb_release -cs) main"

Tags:

Misc Example