How to Install and Uninstall pgstat Package on Debian 10 (Buster)

Last updated: May 18,2024

1. Install "pgstat" package

Here is a brief guide to show you how to install pgstat on Debian 10 (Buster)

$ sudo apt update $ sudo apt install pgstat

2. Uninstall "pgstat" package

This tutorial shows how to uninstall pgstat on Debian 10 (Buster):

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

3. Information about the pgstat package on Debian 10 (Buster)

Package: pgstat
Version: 1.0.1-1
Installed-Size: 64
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_amd64.deb
Size: 19416
MD5sum: 5d291926e149598fdb166bda146e24c4
SHA256: 0967a47a6b6b841bf8ffdd52ae5509b5ccb8b4d448e3ea62fe8f763193f2163a