How to Install and Uninstall cadvisor Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "cadvisor" package

Please follow the guidelines below to install cadvisor on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cadvisor

2. Uninstall "cadvisor" package

This guide let you learn how to uninstall cadvisor on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cadvisor $ sudo apt autoclean && sudo apt autoremove

3. Information about the cadvisor package on Ubuntu 21.04 (Hirsute Hippo)

Package: cadvisor
Architecture: amd64
Version: 0.38.7+ds1-1ubuntu1
Built-Using: containerd (= 1.4.3-0ubuntu1), golang-1.15 (= 1.15.4-1ubuntu2), golang-github-beorn7-perks (= 1.0.1-1), golang-github-blang-semver (= 3.6.1-1), golang-github-cespare-xxhash (= 2.1.1-1), golang-github-datadog-zstd (= 1.4.5+patch1-1), golang-github-davecgh-go-spew (= 1.1.1-2), golang-github-docker-go-connections (= 0.4.0-1), golang-github-docker-go-units (= 0.4.0-3), golang-github-eapache-go-xerial-snappy (= 0.0~git20160609.bb955e0-1.1), golang-github-euank-go-kmsg-parser (= 2.0.1-2), golang-github-garyburd-redigo (= 0.0~git20150901.0.d8dbe4d-2.1), golang-github-go-logr-logr (= 0.4.0-1), golang-github-golang-groupcache (= 0.0~git20200121.8c9f03a-1), golang-github-golang-snappy (= 0.0+git20160529.d9eb7a3-3), golang-github-google-uuid (= 1.2.0-1), golang-github-googleapis-gax-go (= 2.0.5-1), golang-github-karrick-godirwalk (= 1.15.3-2), golang-github-mesos-mesos-go (= 0.0.6+dfsg-2), golang-github-opencontainers-go-digest (= 1.0.0-1), golang-github-opencontainers-image-spec (= 1.0.1-5), golang-github-opencontainers-specs (= 1.0.2.41.g7413a7f-1), golang-github-pierrec-lz4 (= 2.5.2-1), golang-github-pkg-errors (= 0.9.1-1), golang-github-pmezard-go-difflib (= 1.0.0-3), golang-github-pquerna-ffjson (= 0.0~git20181028.e517b90-1.1), golang-github-prometheus-client-golang (= 1.9.0-2), golang-github-prometheus-client-model (= 0.2.0-1), golang-github-prometheus-common (= 0.15.0-2), golang-github-prometheus-procfs (= 0.3.0-1), golang-github-rcrowley-go-metrics (= 0.0~git20180125.8732c61-3), golang-github-rican7-retry (= 0.1.0-2), golang-github-shopify-sarama (= 1.22.1-1), golang-go-zfs (= 2.1.1.49.gf784269-1), golang-go.opencensus (= 0.22.4-1), golang-gogoprotobuf (= 1.3.2-1), golang-gogottrpc (= 1.0.2-1), golang-golang-x-net (= 1:0.0+git20201031.ff519b6+dfsg-1), golang-golang-x-oauth2 (= 0.0~git20190604.0f29369-2), golang-golang-x-sys (= 0.0~git20210124.22da62e-1), golang-golang-x-text (= 0.3.5-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-eapache-go-resiliency.v1 (= 1.0.0-5), golang-gopkg-eapache-queue.v1 (= 1.0.2-4), golang-gopkg-olivere-elastic.v2 (= 2.0.12-2), golang-gopkg-yaml.v3 (= 3.0.0~git20200121.a6ecf24-2), golang-goprotobuf (= 1.3.4-2), golang-logrus (= 1.7.0-2), golang-objx (= 0.3.0-1), golang-protobuf-extensions (= 1.0.1-1), golang-testify (= 1.6.1-1), runc (= 1.0.0~rc92-0ubuntu1)
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25428
Depends: libc6 (>= 2.32), libzstd1 (>= 1.3.8)
Filename: pool/universe/c/cadvisor/cadvisor_0.38.7+ds1-1ubuntu1_amd64.deb
Size: 6006012
MD5sum: ab1511c3dc29eb961781c9f4e7780489
SHA1: 545f3d0491fd7e5df48fbd402d63678fae5882f5
SHA256: 1c5157a00b3e30299a76d9877a1843ce014772bf20e05633d46a60ba95c5dbb9
SHA512: 55e0483a12ee604b021bade0428c3d399ae2bf78a040a95901e99ca50c46b7453c4ed68324555ef86dba4c3fa4d81ac3822b49f97a87382ade70345a0101c7a2
Homepage: https://github.com/google/cadvisor
Description-en: analyze resource usage and performance characteristics of running containers
cAdvisor (Container Advisor) provides container users an understanding of
the resource usage and performance characteristics of their running
containers.
.
cAdvisor has native support for Docker containers and should support just
about any other container type out of the box.
.
cAdvisor also exposes container stats as Prometheus (http://prometheus.io)
metrics.
.
This package provides daemon that collects, aggregates, processes, and
exports information about running containers. Specifically, for each
container it keeps resource isolation parameters, historical resource
usage, histograms of complete historical resource usage and network
statistics. This data is exported by container and machine-wide.
Description-md5: dd5a513802da1b09ca90b03bff7b4612