How to Install and Uninstall pgstat Package on Debian 12 (Bookworm)

Last updated: May 10,2024

1. Install "pgstat" package

In this section, we are going to explain the necessary steps to install pgstat on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install pgstat

2. Uninstall "pgstat" package

Please follow the guidelines below to uninstall pgstat on Debian 12 (Bookworm):

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

3. Information about the pgstat package on Debian 12 (Bookworm)

Package: pgstat
Version: 1.2.0-1
Installed-Size: 105
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libc6 (>= 2.14), 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.2.0-1_amd64.deb
Size: 32428
MD5sum: 3ab1ab8750c341254705e7f2bf219478
SHA256: 07e19f6f48cb882c71b01128fb883a780daca4dee1ba3a52bc045178bcd2d4da