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

Last updated: May 18,2024

1. Install "prometheus" package

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

$ sudo apt update $ sudo apt install prometheus

2. Uninstall "prometheus" package

Learn how to uninstall prometheus on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: prometheus
Architecture: amd64
Version: 2.45.3+ds-2
Built-Using: docker-registry (= 2.8.2+ds1-1build1), docker.io (= 20.10.25+dfsg1-2ubuntu1), golang-1.22 (= 1.22.0-2), golang-fsnotify (= 1.7.0-1), golang-github-alecthomas-units (= 0.0~git20211218.b94a6e3-1), golang-github-asaskevich-govalidator (= 11.0.1-1), golang-github-aws-aws-sdk-go (= 1.49.0-1), golang-github-azure-azure-sdk-for-go (= 68.0.0-2), golang-github-azure-go-autorest (= 14.2.0+git20220726.711dde1-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cespare-xxhash (= 2.1.1-2), golang-github-coreos-go-systemd (= 22.5.0-1), golang-github-davecgh-go-spew (= 1.1.1-3), golang-github-dennwc-varint (= 1.0.0-2), golang-github-digitalocean-godo (= 1.37.0-2), golang-github-docker-go-connections (= 0.4.0-4), golang-github-docker-go-units (= 0.4.0-4), golang-github-edsrzf-mmap-go (= 1.1.0-1), golang-github-go-kit-log (= 0.2.1-1), golang-github-go-logfmt-logfmt (= 0.5.0-2), golang-github-go-logr-logr (= 1.2.3-1), golang-github-go-logr-stdr (= 1.2.2-3), golang-github-go-openapi-analysis (= 0.21.2-1), golang-github-go-openapi-errors (= 0.20.2-1), golang-github-go-openapi-jsonpointer (= 1:0.20.2-1), golang-github-go-openapi-jsonreference (= 1:0.19.6-2), golang-github-go-openapi-loads (= 0.21.1-3), golang-github-go-openapi-spec (= 1:0.20.4-2), golang-github-go-openapi-strfmt (= 0.21.2-1), golang-github-go-openapi-swag (= 1:0.22.8-1), golang-github-go-openapi-validate (= 0.21.0-1), golang-github-go-resty-resty (= 2.10.0-1), golang-github-go-zookeeper-zk (= 1.0.3-3), golang-github-golang-groupcache (= 0.0~git20210331.41bb18b-1), golang-github-golang-jwt-jwt (= 5.0.0+really4.5.0-1), golang-github-golang-protobuf-1-3 (= 1.3.5-4build1), golang-github-golang-snappy (= 0.0.2-3), golang-github-google-go-querystring (= 1.1.0-2), golang-github-google-pprof (= 0.0~git20211008.947d60d-1), golang-github-googleapis-gax-go (= 2.0.5-4), golang-github-gophercloud-gophercloud (= 0.12.0-1), golang-github-grafana-regexp (= 0.0~git20221122.6b5c0a4-2), golang-github-hashicorp-go-cleanhttp (= 0.5.2-1), golang-github-hashicorp-go-retryablehttp (= 0.7.1-1), golang-github-hetznercloud-hcloud-go (= 2.4.0-1), golang-github-ionos-cloud-sdk-go (= 6.1.11-1), golang-github-jmespath-go-jmespath (= 0.4.0-2), golang-github-josharian-intern (= 1.0.0-3), golang-github-jpillora-backoff (= 1.0.0-1.1), golang-github-json-iterator-go (= 1.1.12-1), golang-github-julienschmidt-httprouter (= 1.3.0-2), golang-github-kolo-xmlrpc (= 0.0~git20200310.e035052-2), golang-github-linode-linodego (= 1.28.0-1), golang-github-mailru-easyjson (= 0.7.7-1build1), golang-github-miekg-dns (= 1.1.58-1), golang-github-mitchellh-mapstructure (= 1.5.0+git20231216.8508981-1), golang-github-modern-go-concurrent (= 1.0.3-1.1), golang-github-modern-go-reflect2 (= 1.0.2-2), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-3), golang-github-oklog-run (= 1.1.0-2), golang-github-oklog-ulid (= 2.0.2+ds-2), golang-github-opencontainers-go-digest (= 1.0.0-2), golang-github-opencontainers-image-spec (= 1.1.0~rc5-1), golang-github-opennota-urlesc (= 0.0~git20160726.0.5bd2802-1.1), golang-github-ovh-go-ovh (= 1.1.0-2), golang-github-pkg-errors (= 0.9.1-3), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-prometheus-client-golang (= 1.18.0-2), golang-github-prometheus-client-model (= 0.6.0-1), golang-github-prometheus-common (= 0.47.0-2), golang-github-prometheus-exporter-toolkit (= 0.11.0-1), golang-github-prometheus-procfs (= 0.12.0-1), golang-github-puerkitobio-purell (= 1.1.1-1), golang-github-scaleway-scaleway-sdk-go (= 1.0.0~beta21-1), golang-github-vultr-govultr (= 2.17.2-2), golang-go.crypto (= 1:0.19.0-1), golang-go.opencensus (= 0.24.0-1), golang-go.uber-atomic (= 1.11.0-1), golang-gogoprotobuf (= 1.3.2-3build1), golang-golang-x-exp (= 0.0~git20231006.7918f67-1), golang-golang-x-net (= 1:0.21.0+dfsg-1), golang-golang-x-oauth2 (= 0.15.0-1), golang-golang-x-sync (= 0.6.0-1), golang-golang-x-sys (= 0.17.0-1), golang-golang-x-text (= 0.14.0-1), golang-golang-x-time (= 0.5.0-1), golang-google-api (= 0.61.0-4), golang-google-cloud (= 0.56.0-3), golang-google-genproto (= 0.0~git20200413.b5235f6-3), golang-google-grpc (= 1.38.0+really1.33.3-1build1), golang-google-protobuf (= 1.32.0-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-4), golang-gopkg-ini.v1 (= 1.67.0-1), golang-gopkg-yaml.v3 (= 3.0.1-3), golang-logrus (= 1.9.0-1), golang-mongodb-mongo-driver (= 1.12.1+ds1-2), golang-opentelemetry-otel (= 1.16.0-1), golang-testify (= 1.8.4-1), golang-uber-automaxprocs (= 1.5.3-1), golang-uber-goleak (= 1.3.0-1), golang-yaml.v2 (= 2.4.0-4), prometheus-alertmanager (= 0.26.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: 107766
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: adduser, fonts-glyphicons-halflings, libjs-bootstrap4, libjs-eonasdan-bootstrap-datetimepicker, libjs-jquery (>= 3.5.1~), libjs-jquery-hotkeys, libjs-moment, libjs-moment-timezone, libjs-mustache (>= 2.3.0-1~), libjs-popper.js, libjs-rickshaw, libc6 (>= 2.34)
Recommends: prometheus-node-exporter
Filename: pool/universe/p/prometheus/prometheus_2.45.3+ds-2_amd64.deb
Size: 23253184
MD5sum: e3aa58acd86b50018e46b81b7a7b90aa
SHA1: ea4830ff7355cea82df2fbaae464fd8f103eb5a7
SHA256: 1007d74a8e0c866768dcbb6a2f904b0a09bc46e30db3839ab993039378ee3739
SHA512: 9e3fe023d7aa1279d56695012e84c3b7b4111af25bb73590620516191d2248ec2aa2bb6e1f4fb634f4ad771afdb410eb6d665bbae57952596244d66d8ac51639
Homepage: https://prometheus.io/
Description: monitoring system and time series database
Description-md5: ed8e3840401470b3bc3fb55243535f98