1

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

3

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

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

3

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, privacy policy and cookie policy

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