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

Last updated: May 17,2024

1. Install "cadvisor" package

This guide covers the steps necessary to install cadvisor on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install cadvisor

2. Uninstall "cadvisor" package

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

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

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

Package: cadvisor
Architecture: amd64
Version: 0.38.7+ds1-2ubuntu1
Built-Using: containerd (= 1.4.4-0ubuntu1), golang-1.16 (= 1.16.2-0ubuntu1), golang-github-beorn7-perks (= 1.0.1-1), golang-github-blang-semver (= 3.6.1-2), 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-3), 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.2-2), 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-2), 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+git20210119.5f4716e+dfsg-2), 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-6), 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~rc93-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: 25722
Depends: libc6 (>= 2.32), libzstd1 (>= 1.3.8)
Filename: pool/universe/c/cadvisor/cadvisor_0.38.7+ds1-2ubuntu1_amd64.deb
Size: 5988612
MD5sum: 7f77b4ba7f66fea0ed831c59c36bcb7f
SHA1: 2b424a7ae6227ad4b1d014543153d013fda2d2bf
SHA256: 52e90fa450331740e2f1596038b9fc36746aaab51a1b5a5ba25b0a04e1107263
SHA512: 9561b82046e1f884fe1407dd9d2e60f98ab02bc020a57425e72d95ffcb930362cb9cdbbc4f803052a66d236654c66b4b6999562c40fecadef43ecd3cf54cdce1
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