How to Install and Uninstall prometheus Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 11,2024

1. Install "prometheus" package

Please follow the steps below to install prometheus on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install prometheus

2. Uninstall "prometheus" package

Please follow the guidelines below to uninstall prometheus on Ubuntu 21.10 (Impish Indri):

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

3. Information about the prometheus package on Ubuntu 21.10 (Impish Indri)

Package: prometheus
Architecture: amd64
Version: 2.24.1+ds-1ubuntu1
Built-Using: consul (= 1.8.7+dfsg1-1), docker.io (= 20.10.7-0ubuntu2), golang-1.16 (= 1.16.5-1ubuntu1), golang-fsnotify (= 1.4.9-2), golang-github-alecthomas-units (= 0.0~git20201120.1786d5e-1), golang-github-armon-go-metrics (= 0.3.4-1), golang-github-asaskevich-govalidator (= 9+git20180720.0.f9ffefc3-1.1), golang-github-aws-aws-sdk-go (= 1.36.33-1ubuntu1), golang-github-azure-azure-sdk-for-go (= 43.3.0-1), golang-github-azure-go-autorest (= 14.1.1-1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-cespare-xxhash (= 2.1.1-1), golang-github-davecgh-go-spew (= 1.1.1-2), golang-github-dgrijalva-jwt-go (= 3.2.0-3), golang-github-digitalocean-godo (= 1.37.0-1), golang-github-edsrzf-mmap-go (= 0.0~git20170320.0.0bce6a6-6), golang-github-fatih-color (= 1.7.0-1), golang-github-go-kit-kit (= 0.6.0-3), golang-github-go-logfmt-logfmt (= 0.5.0-2), 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.1), golang-github-go-openapi-jsonreference (= 1:0.0~git20160704.0.13c6e35-1.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.1), golang-github-go-stack-stack (= 1.8.0-1), golang-github-golang-groupcache (= 0.0~git20200121.8c9f03a-1), golang-github-golang-snappy (= 0.0.2-2), golang-github-google-go-querystring (= 1.0.0-1), golang-github-google-pprof (= 0.0~git20200905.acf8798-2), golang-github-googleapis-gax-go (= 2.0.5-1), golang-github-gophercloud-gophercloud (= 0.12.0-1), golang-github-hashicorp-go-cleanhttp (= 0.5.2-1), golang-github-hashicorp-go-hclog (= 0.11.0-1), golang-github-hashicorp-go-immutable-radix (= 1.3.0-1), golang-github-hashicorp-go-rootcerts (= 1.0.2-2), golang-github-hashicorp-golang-lru (= 0.5.4-2), golang-github-hashicorp-serf (= 0.9.4~ds1-1), golang-github-hetznercloud-hcloud-go (= 1.17.0-1), golang-github-jmespath-go-jmespath (= 0.4.0-1), golang-github-josharian-intern (= 1.0.0-3), golang-github-jpillora-backoff (= 1.0.0-1.1), golang-github-json-iterator-go (= 1.1.10-2), golang-github-julienschmidt-httprouter (= 1.3.0-1), golang-github-mailru-easyjson (= 0.7.6-2), golang-github-mattn-go-colorable (= 0.1.7-1), golang-github-mattn-go-isatty (= 0.0.12-1), golang-github-miekg-dns (= 1.1.35-1), golang-github-mitchellh-mapstructure (= 1.3.3-1), golang-github-modern-go-concurrent (= 1.0.3-1.1), golang-github-modern-go-reflect2 (= 1.0.1-1), golang-github-mwitkow-go-conntrack (= 0.0~git20190716.2f06839-2), golang-github-oklog-run (= 1.1.0-1), golang-github-oklog-ulid (= 2.0.2+ds-2), golang-github-opennota-urlesc (= 0.0~git20160726.0.5bd2802-1.1), golang-github-opentracing-contrib-go-stdlib (= 1.0.0-1), golang-github-opentracing-opentracing-go (= 1.2.0-1), golang-github-pkg-errors (= 0.9.1-1), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-prometheus-client-golang (= 1.9.0-2), golang-github-prometheus-client-model (= 0.2.0-2), golang-github-prometheus-common (= 0.15.0-2), golang-github-prometheus-procfs (= 0.3.0-2), golang-github-puerkitobio-purell (= 1.1.1-1), golang-github-samuel-go-zookeeper (= 0.0~git20180130.c4fab1a-1), golang-go.crypto (= 1:0.0~git20201221.eec23a3-1), golang-go.opencensus (= 0.22.4-2), golang-go.uber-atomic (= 1.4.0-1), golang-gogoprotobuf (= 1.3.2-1), golang-golang-x-net (= 1:0.0+git20210119.5f4716e+dfsg-4), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sync (= 0.0~git20210220.036812b-1), golang-golang-x-sys (= 0.0~git20210124.22da62e-1), golang-golang-x-text (= 0.3.6-1), golang-golang-x-time (= 0.0+git20200630.3af7569-1), golang-google-api (= 0.28.0-2), golang-google-cloud (= 0.56.0-1), golang-google-genproto (= 0.0~git20200413.b5235f6-1), golang-google-grpc (= 1.29.1-0ubuntu1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-3), golang-gopkg-mgo.v2 (= 2016.08.01-7), golang-gopkg-yaml.v3 (= 3.0.0~git20200121.a6ecf24-3), golang-goprotobuf (= 1.3.4-2), golang-protobuf-extensions (= 1.0.1-1), golang-testify (= 1.6.1-2), golang-yaml.v2 (= 2.4.0-1), prometheus-alertmanager (= 0.21.0+ds-4)
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: 76495
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.24.1+ds-1ubuntu1_amd64.deb
Size: 16701472
MD5sum: 5c5f3595f82846367c9ce303cff21db1
SHA1: d71236e0614b34e80054ce31896c5d6299e5ea61
SHA256: 457c3124100f3cc5fec64a89a3e6cdfe331aba5517222d9f2fd4f9dae59a2db8
SHA512: 7c2fbac287d5020754384f1c49aec988afb5a9ab571a874b9a62d0aec6bbab71dce9b2c16c96fb9f3db0f4412d979c5635f1afc90a15ba92b00dddca36023eb8
Homepage: https://prometheus.io/
Description-en: Monitoring system and time series database
Prometheus is a systems and services monitoring system. It collects metrics
from configured targets at given intervals, evaluates rule expressions,
displays the results, and can trigger alerts if some condition is observed to
be true.
.
Prometheus' main distinguishing features as compared to other monitoring
systems are:
.
* A multi-dimensional data model (timeseries defined by metric name and set
of key/value dimensions).
* A flexible query language to leverage this dimensionality.
* No dependency on distributed storage; single server nodes are autonomous.
* Timeseries collection happens via a pull model over HTTP.
* Pushing timeseries is supported via an intermediary gateway.
* Targets are discovered via service discovery or static configuration.
* Multiple modes of graphing and dashboarding support.
* Federation support coming soon.
Description-md5: 7f48f84a4177e99e795f6f034f9349c3