Categories
linux python

Python package manager

Ruby have its gem command to install package and python have pip. Since python 3.4, pip is included to default install.

On my linux mint pip command is pip3 and i try to list installed package with pip list command.

To install a package try : pip install <package name>

To search a package try : pip search <searched word>

 

Categories
c++ linux postgresql

Trying postgresql c++ interface : pqxx

Postgresql database have an official interface to C programming language and a C++ interface derived from that. C++ is a different language from C and i think it will be more easier to deal with.

Lets give a try on the newest linux mint 20.

1. install libpqxx-dev package (sudo apt-get install  libpqxx-dev).

2. install codelite IDE (sudo apt-get install  codelite).

3. install postgresql (sudo apt-get install postgresql).

4. create an user (user1) for connecting to postgresql.