How to Install and Uninstall prometheus-apache-exporter Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "prometheus-apache-exporter" package

Here is a brief guide to show you how to install prometheus-apache-exporter on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "prometheus-apache-exporter" package

In this section, we are going to explain the necessary steps to uninstall prometheus-apache-exporter on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the prometheus-apache-exporter package on Ubuntu 20.04 LTS (Focal Fossa)

Package: prometheus-apache-exporter
Architecture: amd64
Version: 0.7.0+ds-1
Built-Using: golang-1.12 (= 1.12.12-1ubuntu1), golang-github-alecthomas-units (= 0.0~git20151022.0.2efee85-4), golang-github-beorn7-perks (= 0.0~git20160804.0.4c0e845-1), golang-github-prometheus-client-golang (= 0.9.2-0ubuntu3), golang-github-prometheus-client-model (= 0.0.2+git20171117.99fa1f4-1), golang-github-prometheus-common (= 0.7.0-1), golang-go.crypto (= 1:0.0~git20190701.4def268-2), golang-golang-x-sys (= 0.0~git20190726.fc99dfb-1ubuntu2), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-1), golang-goprotobuf (= 1.3.2-2), golang-logrus (= 1.3.0-1), golang-procfs (= 0.0.3-1), golang-protobuf-extensions (= 1.0.1-1)
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9337
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: daemon | systemd-sysv, libc6 (>= 2.4)
Enhances: apache2
Filename: pool/universe/p/prometheus-apache-exporter/prometheus-apache-exporter_0.7.0+ds-1_amd64.deb
Size: 2771948
MD5sum: a2f0bf2442076d6cea79e5e9aae5e5bb
SHA1: b67786dfb808ab0c26f826f8be2673ed2cd0d382
SHA256: dcabf28bbb1017d472f34bc62e4cfc4e2583f7d30f9e3fd0482d9ad455f25675
Homepage: https://github.com/neezgee/apache_exporter/
Description: Prometheus exporter for Apache server metrics
Description-md5: e0f78b4de6d146ff7d1815bf040e9583