How to Install and Uninstall prometheus Package on Linux Mint 20.3 (Una)

Last updated: May 10,2024

1. Install "prometheus" package

This is a short guide on how to install prometheus on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install prometheus

2. Uninstall "prometheus" package

Please follow the guidance below to uninstall prometheus on Linux Mint 20.3 (Una):

$ sudo apt remove prometheus $ sudo apt autoclean && sudo apt autoremove

3. Information about the prometheus package on Linux Mint 20.3 (Una)

Package: prometheus
Architecture: amd64
Version: 2.15.2+ds-2
Built-Using: consul (= 1.5.2+dfsg2-14), golang-1.13 (= 1.13.7-1ubuntu1), golang-fsnotify (= 1.4.7-2), golang-github-alecthomas-units (= 0.0~git20151022.0.2efee85-4), golang-github-armon-go-metrics (= 0.3.0-1), golang-github-asaskevich-govalidator (= 9+git20180720.0.f9ffefc3-1), golang-github-aws-aws-sdk-go (= 1.21.6+dfsg-2), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cespare-xxhash (= 2.1.1-1), golang-github-edsrzf-mmap-go (= 0.0~git20170320.0.0bce6a6-5), golang-github-go-kit-kit (= 0.6.0-2), golang-github-go-logfmt-logfmt (= 0.3.0-1), golang-github-go-openapi-analysis (= 0.15.0-1), golang-github-go-openapi-errors (= 0.15.0-1), golang-github-go-openapi-jsonpointer (= 1:0.0~git20160704.0.46af16f-1), golang-github-go-openapi-jsonreference (= 1:0.0~git20160704.0.13c6e35-1), golang-github-go-openapi-loads (= 0.15.0-1), golang-github-go-openapi-spec (= 1:0.15.0-1), golang-github-go-openapi-strfmt (= 0.15.0-1), golang-github-go-openapi-swag (= 1:0.15.0-1), golang-github-go-openapi-validate (= 0.0~git20160704.0.deaf2c9-1), golang-github-go-stack-stack (= 1.5.2-2), golang-github-golang-snappy (= 0.0+git20160529.d9eb7a3-3), golang-github-google-pprof (= 0.0~git20190723.34ac40c-1), golang-github-gophercloud-gophercloud (= 0.6.0-1), golang-github-grpc-ecosystem-grpc-gateway (= 1.6.4-2), golang-github-hashicorp-go-cleanhttp (= 0.5.1-1), golang-github-hashicorp-go-immutable-radix (= 1.1.0-1), golang-github-hashicorp-go-rootcerts (= 0.0~git20160503.0.6bb64b3-1), golang-github-hashicorp-golang-lru (= 0.5.4-1), golang-github-hashicorp-serf (= 0.8.5~ds1-1), golang-github-jmespath-go-jmespath (= 0.2.2-3), golang-github-jpillora-backoff (= 1.0.0-1), golang-github-json-iterator-go (= 1.1.4-1), golang-github-julienschmidt-httprouter (= 1.1-5), golang-github-mailru-easyjson (= 0.7.0-1), golang-github-miekg-dns (= 1.0.4+ds-1ubuntu1), golang-github-mitchellh-mapstructure (= 1.1.2-1), golang-github-modern-go-concurrent (= 1.0.3-1), golang-github-modern-go-reflect2 (= 1.0.0-1), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-1), golang-github-oklog-ulid (= 2.0.2+ds-2), golang-github-opennota-urlesc (= 0.0~git20160726.0.5bd2802-1), golang-github-opentracing-contrib-go-stdlib (= 0.0~git20190519.cf7a6c9-1), golang-github-opentracing-opentracing-go (= 1.0.2-1), golang-github-pkg-errors (= 0.8.1-1), golang-github-prometheus-client-golang (= 1.2.1-3), golang-github-prometheus-client-model (= 0.0.2+git20171117.99fa1f4-1), golang-github-prometheus-common (= 0.7.0-1), golang-github-puerkitobio-purell (= 1.1.0-2), golang-github-samuel-go-zookeeper (= 0.0~git20180130.c4fab1a-1), golang-go.crypto (= 1:0.0~git20190701.4def268-2), golang-go.opencensus (= 0.22.0-1), golang-gogoprotobuf (= 1.2.1+git20190611.dadb6258-1), golang-golang-x-net (= 1:0.0+git20191112.2180aed+dfsg-3), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sync (= 0.0~git20190423.1122301-1), golang-golang-x-sys (= 0.0~git20190726.fc99dfb-1ubuntu2), golang-golang-x-text (= 0.3.2-3), golang-golang-x-time (= 0.0~git20161028.0.f51c127-2), golang-google-api (= 0.7.0-2build4), golang-google-cloud (= 0.43.0-1build4), golang-google-genproto (= 0.0~git20190801.fa694d8-2build4), golang-google-grpc (= 1.22.1-1ubuntu1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-1), golang-gopkg-mgo.v2 (= 2016.08.01-6), golang-goprotobuf (= 1.3.2-2), golang-procfs (= 0.0.8-1), golang-protobuf-extensions (= 1.0.1-1), golang-yaml.v2 (= 2.2.8-1), prometheus-alertmanager (= 0.20.0+ds-1)
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: 64225
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, daemon | systemd-sysv, fonts-glyphicons-halflings, libjs-bootstrap4, libjs-eonasdan-bootstrap-datetimepicker, libjs-jquery (>= 1.11.3~), libjs-jquery-hotkeys, libjs-moment, libjs-moment-timezone, libjs-mustache (>= 2.3.0-1~), libjs-popper.js, libjs-rickshaw, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.4)
Recommends: prometheus-node-exporter
Filename: pool/universe/p/prometheus/prometheus_2.15.2+ds-2_amd64.deb
Size: 16008004
MD5sum: 5058b2e51ec0d0d7393848a3f5d28d95
SHA1: 76407873005519ff7c116615bdf59590a3e44c75
SHA256: 38c68e8884b5731404d9bbacf261aaf457db734458ca4665d2a4303fea874118
Homepage: https://prometheus.io/
Description: Monitoring system and time series database
Description-md5: 7f48f84a4177e99e795f6f034f9349c3