I'm planning on coding using the distro. Which packages should i install?


2 Answers 2


install the g++, mysql-server and mysql-client packages, you can do that like this.

sudo apt-get install g++ mysql-server mysql-client


Ok. Let's see.

The package build-essential installs the C and C++ compilers along with the make tool and some headers.

You'll need mysql-server and mysql-client to have a local database and access it. You can try mariadb-server and mariadb-client too.

For the MySQL C++ connector/driver, there's the libmysqlcppconn-dev package. You'll need to add -lmysqlcppconn to the linker when compiling.

So... this should do:

sudo apt-get install build-essential mysql-server mysql-client libmysqlcppconn-dev

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.