How to Install and Uninstall prometheus-postgres-exporter Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 14,2024

1. Install "prometheus-postgres-exporter" package

In this section, we are going to explain the necessary steps to install prometheus-postgres-exporter on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "prometheus-postgres-exporter" package

Please follow the guidelines below to uninstall prometheus-postgres-exporter on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the prometheus-postgres-exporter package on Ubuntu 24.04 LTS (Noble Numbat)

Package: prometheus-postgres-exporter
Architecture: amd64
Version: 0.15.0-1
Built-Using: golang-1.21 (= 1.21.3-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-coreos-go-systemd (= 22.3.2-1), golang-github-go-kit-log (= 0.2.1-1), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-golang-protobuf-1-5 (= 1.5.2-3build1), golang-github-jpillora-backoff (= 1.0.0-1.1), golang-github-lib-pq (= 1.10.9-1), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-3), golang-github-prometheus-client-golang (= 1.17.0-1), golang-github-prometheus-client-model (= 0.5.0-1), golang-github-prometheus-common (= 0.44.0-4), golang-github-prometheus-exporter-toolkit (= 0.10.0-2), golang-github-prometheus-procfs (= 0.12.0-1), golang-go.crypto (= 1:0.13.0-1), golang-golang-x-net (= 1:0.15.0-2), golang-golang-x-oauth2 (= 0.4.0-1), golang-golang-x-sync (= 0.3.0-1), golang-golang-x-sys (= 0.12.0-1), golang-golang-x-text (= 0.13.0-1), golang-google-protobuf (= 1.31.0-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-4), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-protobuf-extensions (= 1.0.4-2), golang-yaml.v2 (= 2.4.0-4)
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: 11289
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.15.0-1_amd64.deb
Size: 3746088
MD5sum: 62d32e28a4a78b56b83c09472486e814
SHA1: bbd17da675c5b4699a4cbd8569090cf2e6463a3f
SHA256: 97f43f02bfcf007b9465fa9cec41c536d1476ee936c96acfef8fa4e7f8064f96
SHA512: 83b8abbc97ab68201786d74ee4be040d43217ca09f903148ec55a108c3d377da95fb61ae561553d6d9fb119a5832662effed7f69d239327832cfa44dd812173d
Homepage: https://github.com/prometheus-community/postgres_exporter
Description: Prometheus exporter for PostgreSQL server metrics
Description-md5: a03ff7f6f3924bc3d982523f8ddca638