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

Last updated: May 18,2024

1. Install "pgstat" package

Please follow the instructions below to install pgstat on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install pgstat

2. Uninstall "pgstat" package

In this section, we are going to explain the necessary steps to uninstall pgstat on Debian 11 (Bullseye):

$ sudo apt remove pgstat $ sudo apt autoclean && sudo apt autoremove

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

Package: pgstat
Source: pgstat (1.0.1-1)
Version: 1.0.1-1+b1
Installed-Size: 65
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libc6 (>= 2.4), libpq5 (>= 9.0~)
Description: Collects PostgreSQL statistics the same way as a vmstat tool
Description-md5: 5e531455b6de51a07c0e944602e62b54
Homepage: https://github.com/gleu/pgstats
Section: database
Priority: optional
Filename: pool/main/p/pgstat/pgstat_1.0.1-1+b1_amd64.deb
Size: 19588
MD5sum: f758e3ff5c9a751666ab6310bc86d2c1
SHA256: b6a488ad8a9317404b5f8ad0a8fd1214fb4f7f1b5c9d73cc9a8c4b1b2631f20a