How to Install and Uninstall prometheus Package on Debian 11 (Bullseye)

Last updated: November 23,2024

1. Install "prometheus" package

In this section, we are going to explain the necessary steps to install prometheus on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install prometheus

2. Uninstall "prometheus" package

Here is a brief guide to show you how to uninstall prometheus on Debian 11 (Bullseye):

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

3. Information about the prometheus package on Debian 11 (Bullseye)

Package: prometheus
Source: prometheus (2.24.1+ds-1)
Version: 2.24.1+ds-1+b7
Installed-Size: 78336
Maintainer: Debian Go Packaging Team
Architecture: amd64
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.4)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: prometheus-node-exporter
Description: Monitoring system and time series database
Description-md5: 7f48f84a4177e99e795f6f034f9349c3
Homepage: https://prometheus.io/
Built-Using: consul (= 1.8.7+dfsg1-2), containerd (= 1.4.5~ds1-2), docker-registry (= 2.7.1+ds2-7), docker.io (= 20.10.5+dfsg1-1), golang-1.15 (= 1.15.9-6), 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-1), 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-docker-go-connections (= 0.4.0-3), golang-github-docker-go-units (= 0.4.0-3), 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-opencontainers-go-digest (= 1.0.0-1), golang-github-opencontainers-image-spec (= 1.0.1-5), 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.27.1-1), 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-logrus (= 1.7.0-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)
Tag: implemented-in::TODO, interface::web, role::program, use::analysing,
use::monitor, use::storing, works-with::TODO
Section: net
Priority: optional
Filename: pool/main/p/prometheus/prometheus_2.24.1+ds-1+b7_amd64.deb
Size: 15774480
MD5sum: 5e2c5870ebf5a5d96db5378415c244d6
SHA256: 7f98887c0fa36e0dd81bb39abc57a9e2535c2a0dc20442a431255ebc0b87b73a