How to Install and Uninstall prometheus-postgres-exporter Package on Debian 11 (Bullseye)

Last updated: November 22,2024

1. Install "prometheus-postgres-exporter" package

Here is a brief guide to show you how to install prometheus-postgres-exporter on Debian 11 (Bullseye)

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

2. Uninstall "prometheus-postgres-exporter" package

Please follow the instructions below to uninstall prometheus-postgres-exporter on Debian 11 (Bullseye):

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

3. Information about the prometheus-postgres-exporter package on Debian 11 (Bullseye)

Package: prometheus-postgres-exporter
Source: prometheus-postgres-exporter (0.8.0+ds-1)
Version: 0.8.0+ds-1+b6
Installed-Size: 8816
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: daemon | systemd-sysv, libc6 (>= 2.4)
Pre-Depends: init-system-helpers (>= 1.54~)
Description: Prometheus exporter for PostgreSQL server metrics
Description-md5: a03ff7f6f3924bc3d982523f8ddca638
Homepage: https://github.com/wrouesnel/postgres_exporter/
Built-Using: golang-1.15 (= 1.15.9-6), golang-github-alecthomas-units (= 0.0~git20201120.1786d5e-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-blang-semver (= 3.6.1-2), golang-github-cespare-xxhash (= 2.1.1-1), golang-github-lib-pq (= 1.3.0-1), golang-github-prometheus-client-golang (= 1.9.0-2), golang-github-prometheus-client-model (= 0.2.0-2), golang-github-prometheus-common (= 0.15.0-2), golang-github-prometheus-procfs (= 0.3.0-2), golang-golang-x-sys (= 0.0~git20210124.22da62e-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-3), golang-goprotobuf (= 1.3.4-2), golang-logrus (= 1.7.0-2), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.4.0-1)
Section: net
Priority: optional
Filename: pool/main/p/prometheus-postgres-exporter/prometheus-postgres-exporter_0.8.0+ds-1+b6_amd64.deb
Size: 2622592
MD5sum: b807b033ac78f637849b9d7a2537360f
SHA256: 105c22ec7fcb2baca53aaacb1d57e28ed4e7c65f226f16f550e1efd63c7f0237