How to Install and Uninstall pgbouncer Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 30,2024

1. Install "pgbouncer" package

Please follow the steps below to install pgbouncer on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install pgbouncer

2. Uninstall "pgbouncer" package

This is a short guide on how to uninstall pgbouncer on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove pgbouncer $ sudo apt autoclean && sudo apt autoremove

3. Information about the pgbouncer package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: pgbouncer
Priority: optional
Section: universe/misc
Installed-Size: 326
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Version: 1.7-1
Depends: lsb-base (>= 3.1), postgresql-common (>= 26), libc6 (>= 2.14), libevent-2.0-5 (>= 2.0.10-stable), libssl1.0.0 (>= 1.0.0)
Suggests: python, python-psycopg2
Filename: pool/universe/p/pgbouncer/pgbouncer_1.7-1_amd64.deb
Size: 142570
MD5sum: e1d9d789b4b1bdea0d345c91cd4c4ea4
SHA1: 5fa689ee74f852f76233fbf98e53d4dd3e352942
SHA256: 91db4eccaaf68dcadf52467868d1408bba72e93e25b632f3ce6d603be7ca9cc4
Description-en: lightweight connection pooler for PostgreSQL
PgBouncer is a lightweight connection pooler for PostgreSQL providing the
following features:
.
* Several levels of brutality when rotating connections: session pooling,
transaction pooling, statement pooling.
* Low memory requirements.
* It is not tied to one backend server, the destination databases
can reside on different hosts.
* Supports online reconfiguration for most of the settings.
* Supports online restart/upgrade.
Description-md5: 01a8a881cdb553661c7e49106374895e
Enhances: postgresql (>= 7.4)
Homepage: http://pgfoundry.org/projects/pgbouncer/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu