How to Install and Uninstall prometheus-postgres-exporter Package on Linux Mint 21 (Vanessa)

Last updated: November 22,2024

1. Install "prometheus-postgres-exporter" package

This is a short guide on how to install prometheus-postgres-exporter on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install prometheus-postgres-exporter

2. Uninstall "prometheus-postgres-exporter" package

This tutorial shows how to uninstall prometheus-postgres-exporter on Linux Mint 21 (Vanessa):

$ sudo apt remove prometheus-postgres-exporter $ sudo apt autoclean && sudo apt autoremove

3. Information about the prometheus-postgres-exporter package on Linux Mint 21 (Vanessa)

Package: prometheus-postgres-exporter
Architecture: amd64
Version: 0.10.1-1ubuntu0.22.04.2
Built-Using: golang-1.18 (= 1.18.1-1ubuntu1.1), golang-github-alecthomas-units (= 0.0~git20211218.b94a6e3-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-blang-semver (= 4.0.0-1), golang-github-cespare-xxhash (= 2.1.1-2), golang-github-go-kit-log (= 0.2.0-3), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-jpillora-backoff (= 1.0.0-1.1), golang-github-lib-pq (= 1.5.2-1), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-2), golang-github-pkg-errors (= 0.9.1-2), golang-github-prometheus-client-golang (= 1.11.0-3), golang-github-prometheus-client-model (= 0.2.0-3), golang-github-prometheus-common (= 0.32.1-5ubuntu1), golang-github-prometheus-exporter-toolkit (= 0.7.1-1ubuntu1), golang-github-prometheus-procfs (= 0.7.3-1), golang-go.crypto (= 1:0.0~git20211202.5770296-1), golang-golang-x-net (= 1:0.0+git20211209.491a49a+dfsg-1), golang-golang-x-oauth2 (= 0.0~git20211104.d3ed0bb-1), golang-golang-x-sys (= 0.0~git20211216.1d35b9e-1), golang-golang-x-text (= 0.3.7-1ubuntu0.20.04.1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-3), golang-goprotobuf (= 1.3.4-2ubuntu0.22.04.1), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.4.0-2)
Priority: extra
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8905
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, daemon | systemd-sysv, libc6 (>= 2.34)
Filename: pool/universe/p/prometheus-postgres-exporter/prometheus-postgres-exporter_0.10.1-1ubuntu0.22.04.2_amd64.deb
Size: 3081564
MD5sum: 87a3e9c07deb2f8de3f0df236befc8b9
SHA1: de721ec30b8015618fb9f245558e6f3497f9a0c2
SHA256: 40245d982627fad24560dc1de786401125056c6df3ccddb65afac7c1c306f3ea
SHA512: 017ef942f49fc9770d33d8bb504ab02b0de215b0da53299c06814fbde14d3ed05f9e59d87cf82a1cb38f2efd852b12888351f63969acc41d609258cf9f8014e1
Homepage: https://github.com/prometheus-community/postgres_exporter
Description: Prometheus exporter for PostgreSQL server metrics
Description-md5: a03ff7f6f3924bc3d982523f8ddca638

Package: prometheus-postgres-exporter
Architecture: amd64
Version: 0.10.1-1
Built-Using: golang-1.17 (= 1.17.3-1ubuntu1), golang-github-alecthomas-units (= 0.0~git20211218.b94a6e3-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-blang-semver (= 3.6.1-2), golang-github-cespare-xxhash (= 2.1.1-2), golang-github-go-kit-log (= 0.2.0-2), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-jpillora-backoff (= 1.0.0-1.1), golang-github-lib-pq (= 1.5.2-1), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-2), golang-github-pkg-errors (= 0.9.1-2), golang-github-prometheus-client-golang (= 1.11.0-3), golang-github-prometheus-client-model (= 0.2.0-3), golang-github-prometheus-common (= 0.32.1-5), golang-github-prometheus-exporter-toolkit (= 0.7.1-1), golang-github-prometheus-procfs (= 0.7.3-1), golang-go.crypto (= 1:0.0~git20211202.5770296-1), golang-golang-x-net (= 1:0.0+git20211209.491a49a+dfsg-1), golang-golang-x-oauth2 (= 0.0~git20211104.d3ed0bb-1), golang-golang-x-sys (= 0.0~git20211216.1d35b9e-1), golang-golang-x-text (= 0.3.7-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-3), golang-goprotobuf (= 1.3.4-2), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.4.0-1)
Priority: extra
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8860
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, daemon | systemd-sysv, libc6 (>= 2.34)
Filename: pool/universe/p/prometheus-postgres-exporter/prometheus-postgres-exporter_0.10.1-1_amd64.deb
Size: 2932400
MD5sum: 9be8ce38040a3b2decc3e1dae8ac4b82
SHA1: 2536ea8ca6189ffb0b3d15f00ffcff7b6e123fdc
SHA256: 420c4e586a5e051d7d98e210d93ba1daf9ac0de6747e6d9b0d6e3e4421e1dc6f
SHA512: 4e8d271920ef9290a1ea3c6a851a83696b0e90af14d6a158e10a6de131f871140f198f3903409f98bf32ea7466488b808e5dc9acc27120ee9c018fd4faf67225
Homepage: https://github.com/prometheus-community/postgres_exporter
Description: Prometheus exporter for PostgreSQL server metrics
Description-md5: a03ff7f6f3924bc3d982523f8ddca638