How to Install and Uninstall pgstat Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 11,2024

1. Install "pgstat" package

Here is a brief guide to show you how to install pgstat on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install pgstat

2. Uninstall "pgstat" package

Please follow the guidance below to uninstall pgstat on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the pgstat package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: pgstat
Architecture: amd64
Version: 1.2.0-1
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 105
Depends: libc6 (>= 2.34), libpq5 (>= 9.0~)
Filename: pool/universe/p/pgstat/pgstat_1.2.0-1_amd64.deb
Size: 34604
MD5sum: dcf7af98bf783db7cca06d84b7a3506d
SHA1: 2143df8c80bf7083d67f5425256bb3b6ee5519fc
SHA256: 4e39b45ea1938dc8ecd9c68ee2bd929a69befd649e189646464207dcc2a78784
SHA512: d80b7c2954d040ff76fa27486254e895642903e737bb137996629d18fa8922255caf2de0e00ad210b623785fd888d838df9c5b4a019a443555029ae15e582526
Homepage: https://github.com/gleu/pgstats
Description: Collects PostgreSQL statistics the same way as a vmstat tool
Description-md5: 5e531455b6de51a07c0e944602e62b54