How to Install and Uninstall prometheus-node-exporter Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "prometheus-node-exporter" package

This tutorial shows how to install prometheus-node-exporter on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "prometheus-node-exporter" package

Please follow the instructions below to uninstall prometheus-node-exporter on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the prometheus-node-exporter package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: prometheus-node-exporter
Architecture: amd64
Version: 0.15.2+ds-1
Built-Using: golang-1.9 (= 1.9.2-3ubuntu1), golang-dbus (= 4.1.0-1), golang-github-alecthomas-units (= 0.0~git20151022.0.2efee85-3), golang-github-beorn7-perks (= 0.0~git20160804.0.4c0e845-1), golang-github-coreos-go-systemd (= 14-1), golang-github-kolo-xmlrpc (= 0+git20150413.0826b98-2), golang-github-prometheus-client-golang (= 0.8.0-2), golang-github-prometheus-client-model (= 0.0.2+git20150212.12.fa8ad6f-2), golang-github-prometheus-common (= 0+git20171117.2e54d0b-1), golang-golang-x-net-dev (= 1:0.0+git20170629.c81e7f2+dfsg-1ubuntu2), golang-golang-x-sys (= 0.0~git20170727.0.35ef448-2), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.3-2), golang-goprotobuf (= 0.0~git20170808.0.1909bc2-1ubuntu2), golang-logrus (= 1.0.2-2), golang-procfs (= 0+git20170703.e645f4e-1ubuntu1), 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: 9127
Depends: daemon | systemd-sysv, libc6 (>= 2.4)
Filename: pool/universe/p/prometheus-node-exporter/prometheus-node-exporter_0.15.2+ds-1_amd64.deb
Size: 2518212
MD5sum: 794716db68122aeb3f22edc7add42d65
SHA1: a6707c1b5982f7e179bbe28d2d5fcb4745e90007
SHA256: fdd49934cb14c62cbc292a7f9fe5969686405f7411a6ff06ea1dc4f7c9371a48
Homepage: https://github.com/prometheus/node_exporter
Description: Prometheus exporter for machine metrics
Description-md5: 9366958e5739169b3c3e951f14e3802f