How to Install and Uninstall pgbouncer Package on Debian 11 (Bullseye)

Last updated: December 24,2024

1. Install "pgbouncer" package

This is a short guide on how to install pgbouncer on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install pgbouncer

2. Uninstall "pgbouncer" package

This tutorial shows how to uninstall pgbouncer on Debian 11 (Bullseye):

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

3. Information about the pgbouncer package on Debian 11 (Bullseye)

Package: pgbouncer
Version: 1.15.0-1
Installed-Size: 525
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: lsb-base (>= 3.1), postgresql-common (>= 26), libc-ares2 (>= 1.12), libc6 (>= 2.26), libevent-2.1-7 (>= 2.1.8-stable), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0)
Suggests: python3, python3-psycopg2
Enhances: postgresql (>= 7.4)
Description: lightweight connection pooler for PostgreSQL
Description-md5: 01a8a881cdb553661c7e49106374895e
Homepage: https://www.pgbouncer.org/
Tag: implemented-in::c, role::program, works-with::db
Section: database
Priority: optional
Filename: pool/main/p/pgbouncer/pgbouncer_1.15.0-1_amd64.deb
Size: 203916
MD5sum: ac92632a876d28395ff72226b4b14bfc
SHA256: f7adaa3c19bbd5cc36f560038e09319ebfff37bb2b357981719d8d5df5b269e8