python-psycopg2-dbg software package provides Python module for PostgreSQL (debug extension), you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install python-psycopg2-dbg
python-psycopg2-dbg is installed in your system.
Make ensure the python-psycopg2-dbg package were installed using the commands given below,
$ sudo dpkg-query -l | grep python-psycopg2-dbg *
You will get with python-psycopg2-dbg package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Python |
| Package | python-psycopg2-dbg |
| Version | 2.4.5-1build5 |
| Description | Python module for PostgreSQL (debug extension) |
| Sub Section | Python |