I'm planning on coding using the distro. Which packages should i install?
2 Answers
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