How To Install golang-github-prometheus-alertmanager-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install golang-github-prometheus-alertmanager-dev
on Ubuntu 20.04.
What is golang-github-prometheus-alertmanager-dev
golang-github-prometheus-alertmanager-dev is:
The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.
This package provides the source code to be used as a library.
Package: golang-github-prometheus-alertmanager-dev Architecture: all Version: 0.15.3+ds-3 Priority: extra Section: universe/net Source: prometheus-alertmanager Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Go Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 741 Depends: golang-github-cenkalti-backoff-dev, golang-github-cespare-xxhash-dev, golang-github-go-kit-kit-dev, golang-github-gogo-protobuf-dev (>= 0.5), golang-github-hashicorp-go-sockaddr-dev, golang-github-hashicorp-memberlist-dev (>= 0.1.0~), golang-github-kylelemons-godebug-dev, golang-github-oklog-ulid-dev, golang-github-pkg-errors-dev, golang-github-prometheus-client-golang-dev (>= 0.9.0~pre1+git20180417), golang-github-prometheus-common-dev (>= 0+git20180518), golang-github-satori-go.uuid-dev, golang-golang-x-net-dev, golang-gopkg-alecthomas-kingpin.v2-dev, golang-gopkg-yaml.v2-dev (>= 2.2.1-1~) Filename: pool/universe/p/prometheus-alertmanager/golang-github-prometheus-alertmanager-dev_0.15.3+ds-3_all.deb Size: 112840 MD5sum: 13ac894089d4cb8046d35479ed5bf2b2 SHA1: bfc4ff34abd239c2a16a7153b3d3331c0bcd7859 SHA256: 3f01dc61dad013462471c97c192cb0ca4a6abfc1b3724f1f483be7bd88d5aeaa Homepage: https://prometheus.io/ Description-en: Handle and deliver alerts created by Prometheus – source The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.
This package provides the source code to be used as a library.
There are three methods to install golang-github-prometheus-alertmanager-dev
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install golang-github-prometheus-alertmanager-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install golang-github-prometheus-alertmanager-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-github-prometheus-alertmanager-dev
Install golang-github-prometheus-alertmanager-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-github-prometheus-alertmanager-dev
using apt
by running the following command:
sudo apt -y install golang-github-prometheus-alertmanager-dev
Install golang-github-prometheus-alertmanager-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install golang-github-prometheus-alertmanager-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-prometheus-alertmanager-dev
How To Uninstall golang-github-prometheus-alertmanager-dev on Ubuntu 20.04
To uninstall only the golang-github-prometheus-alertmanager-dev
package we can use the following command:
sudo apt-get remove golang-github-prometheus-alertmanager-dev
Uninstall golang-github-prometheus-alertmanager-dev And Its Dependencies
To uninstall golang-github-prometheus-alertmanager-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove golang-github-prometheus-alertmanager-dev
Remove golang-github-prometheus-alertmanager-dev Configurations and Data
To remove golang-github-prometheus-alertmanager-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge golang-github-prometheus-alertmanager-dev
Remove golang-github-prometheus-alertmanager-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-prometheus-alertmanager-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-prometheus-alertmanager-dev
References
- golang-github-prometheus-alertmanager-dev website
- golang-github-prometheus-alertmanager-dev on packages.ubuntu.com
Summary
In this tutorial we learn how to install golang-github-prometheus-alertmanager-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.