How to Install and Uninstall prometheus Package on Debian 10 (Buster)

Last updated: May 18,2024

1. Install "prometheus" package

Learn how to install prometheus on Debian 10 (Buster)

$ sudo apt update $ sudo apt install prometheus

2. Uninstall "prometheus" package

Please follow the instructions below to uninstall prometheus on Debian 10 (Buster):

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

3. Information about the prometheus package on Debian 10 (Buster)

Package: prometheus
Source: prometheus (2.7.1+ds-3)
Version: 2.7.1+ds-3+b11
Installed-Size: 46663
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: adduser, daemon | systemd-sysv, libjs-bootstrap, libjs-eonasdan-bootstrap-datetimepicker, libjs-jquery (>= 1.11.3~), libjs-jquery-hotkeys, libjs-moment, libjs-moment-timezone, libjs-mustache (>= 2.3.0-1~), libjs-rickshaw, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.3.2)
Recommends: prometheus-node-exporter
Description: Monitoring system and time series database
Description-md5: 7f48f84a4177e99e795f6f034f9349c3
Homepage: https://prometheus.io/
Built-Using: golang-1.11 (= 1.11.6-1), golang-fsnotify (= 1.4.7-2), golang-github-alecthomas-units (= 0.0~git20151022.0.2efee85-4), golang-github-armon-go-metrics (= 0.0~git20180917.f0300d1-1), golang-github-aws-aws-sdk-go (= 1.16.18+dfsg-1), golang-github-azure-azure-sdk-for-go (= 10.3.0~beta-1), golang-github-azure-go-autorest (= 8.3.1-1), golang-github-beorn7-perks (= 0.0~git20160804.0.4c0e845-1), golang-github-cespare-xxhash (= 1.1.0-1), golang-github-cockroachdb-cmux (= 0.0~git20170110.0.30d10be-1), golang-github-dgrijalva-jwt-go-v3 (= 3.2.0-2), golang-github-go-kit-kit (= 0.6.0-2), golang-github-go-logfmt-logfmt (= 0.3.0-1), golang-github-go-stack-stack (= 1.5.2-2), golang-github-golang-snappy (= 0.0+git20160529.d9eb7a3-3), golang-github-gophercloud-gophercloud (= 0.0~git20180917.45f1c769-1), golang-github-grpc-ecosystem-grpc-gateway (= 1.6.4-2), golang-github-hashicorp-go-cleanhttp (= 0.5.0-1.1), golang-github-hashicorp-go-immutable-radix (= 1.0.0-1), golang-github-hashicorp-golang-lru (= 0.5.0-1), golang-github-hashicorp-serf (= 0.8.1+git20180508.80ab4877~ds-1), golang-github-jmespath-go-jmespath (= 0.2.2-2), golang-github-json-iterator-go (= 1.1.4-1), golang-github-julienschmidt-httprouter (= 1.1-5), golang-github-miekg-dns (= 1.0.4+ds-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~git20161129.cc309e4-3), golang-github-oklog-ulid (= 0.3.0+git20170117.66bb656-1), golang-github-opentracing-contrib-go-stdlib (= 0.0~git20170528.48e4d76-1), golang-github-opentracing-opentracing-go (= 1.0.2-1), golang-github-pkg-errors (= 0.8.1-1), golang-github-prometheus-client-golang (= 0.9.0-1), golang-github-prometheus-client-model (= 0.0.2+git20171117.99fa1f4-1), golang-github-prometheus-common (= 0+git20181119.b36ad28-1), golang-github-prometheus-tsdb (= 0.4.0-1), golang-github-samuel-go-zookeeper (= 0.0~git20180130.c4fab1a-1), golang-go.crypto (= 1:0.0~git20181203.505ab14-1), golang-gogoprotobuf (= 1.0.0+git20180330.1ef32a8b-1), golang-golang-x-net-dev (= 1:0.0+git20181201.351d144+dfsg-3), golang-golang-x-oauth2 (= 0.0~git20180821.d2e6202-1), golang-golang-x-sync (= 0.0~git20171101.fd80eb9-1), golang-golang-x-sys (= 0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1), golang-golang-x-time (= 0.0~git20161028.0.f51c127-2), golang-google-api (= 0.0~git20180916.19ff876-2), golang-google-cloud (= 0.9.0-10), golang-google-genproto (= 0.0~git20190111.db91494-4), golang-google-grpc (= 1.11.0-1), golang-gopkg-alecthomas-kingpin.v2 (= 2.2.6-1), golang-goprotobuf (= 1.2.0-1), golang-procfs (= 0+git20181204.1dc9a6c-1), golang-protobuf-extensions (= 1.0.1-1), golang-x-text (= 0.3.0-2), golang-yaml.v2 (= 2.2.2-1)
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.7.1+ds-3+b11_amd64.deb
Size: 10967116
MD5sum: e888517a734b7d3c2abda5fab1ef457c
SHA256: c954163c46c78398624c39a64288651a785b2a193642418fdc4cfe55eeaa24f4