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

Last updated: November 07,2024

1. Install "prometheus-mysqld-exporter" package

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

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

2. Uninstall "prometheus-mysqld-exporter" package

Please follow the steps below to uninstall prometheus-mysqld-exporter on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: prometheus-mysqld-exporter
Architecture: amd64
Version: 0.11.0+ds-1
Built-Using: golang-1.10 (= 1.10.4-2ubuntu1), golang-github-alecthomas-units (= 0.0~git20151022.0.2efee85-3), golang-github-beorn7-perks (= 0.0~git20160804.0.4c0e845-1), golang-github-go-sql-driver-mysql (= 1.4.0-1), golang-github-prometheus-client-golang (= 0.9.0-1), golang-github-prometheus-client-model (= 0.0.2+git20171117.99fa1f4-1), golang-github-prometheus-common (= 0+git20180518.7600349-1), golang-github-satori-go.uuid (= 1.2.0-1), golang-go.crypto (= 1:0.0~git20180614.a8fb68e-1), golang-golang-x-sys (= 0.0~git20181026.95b1ffb-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-1), golang-gopkg-ini.v1 (= 1.37.0-1), golang-goprotobuf (= 0.0~git20170808.0.1909bc2-2), golang-logrus (= 1.0.6-1), golang-procfs (= 0+git20180613.7d6f385-1), golang-protobuf-extensions (= 1.0.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: 7832
Depends: daemon, libc6 (>= 2.4)
Suggests: default-mysql-server | virtual-mysql-server
Filename: pool/universe/p/prometheus-mysqld-exporter/prometheus-mysqld-exporter_0.11.0+ds-1_amd64.deb
Size: 2194416
MD5sum: 8733dff6a1adadd444d78102fb0f4fbf
SHA1: 473614d82e1f1ecf373de63139e1c2d0e9b7f67a
SHA256: 0206d3770363028023a53f1f21978b38a41b0a2b1f8e01640cfc010288acc98c
Homepage: https://github.com/prometheus/mysqld_exporter
Description: Prometheus exporter for MySQL server.
Description-md5: 9ab79c552006c990d8f401d8c8d016ce