Skip to content

Commit

Permalink
install.md update - AlmaLinux and Rocky Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Navid Yaghoobi <[email protected]>
  • Loading branch information
navidys committed Mar 6, 2024
1 parent 89d7e56 commit a49822d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 87 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
bin/*
*.log
*.out
ize
36 changes: 19 additions & 17 deletions install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- [**Building From Source**](#building-from-source)
- [**Container Image**](#container-image)
- [**Installing Packaged Versions**](#installing-packaged-versions)
- [**AlmaLinux, Rocky Linux**](#almalinux-rocky-linux)
- [**Centos Stream**](#centos-stream)
- [**Fedora**](#fedora)
- [**RHEL**](#rhel)
Expand All @@ -15,17 +16,10 @@ prometheus-podman-exporter is using go v1.17 or above.

1. Clone the repo
2. Install dependencies
* Fedora

```shell
$ sudo dnf install -y btrfs-progs-devel device-mapper-devel gpgme-devel libassuan-devel
```

* Debian

```shell
$ sudo apt-get -y install libgpgme-dev libbtrfs-dev libdevmapper-dev libassuan-dev pkg-config
```
```shell
$ sudo dnf -y install btrfs-progs-devel device-mapper-devel gpgme-devel libassuan-devel
```

2. Build and run the executable

Expand Down Expand Up @@ -58,30 +52,38 @@ prometheus-podman-exporter is using go v1.17 or above.

## Installing Packaged Versions

### Centos Stream
### AlmaLinux, Rocky Linux

Enable [EPEL repository](https://docs.fedoraproject.org/en-US/epel/) and then run:

```shell
$ sudo dnf -y install prometheus-podman-exporter
```
$ sudo dnf install prometheus-podman-exporter

### Centos Stream

Enable [EPEL repository](https://docs.fedoraproject.org/en-US/epel/) and then run:

```shell
$ sudo dnf -y install prometheus-podman-exporter
```

### Fedora

```
$ sudo dnf install prometheus-podman-exporter
```shell
$ sudo dnf -y install prometheus-podman-exporter
```

### RHEL

Enable [EPEL repository](https://docs.fedoraproject.org/en-US/epel/) and then run:

```
$ sudo dnf install prometheus-podman-exporter
```shell
$ sudo dnf -y install prometheus-podman-exporter
```

### Gentoo

```
```shell
$ sudo emerge app-metrics/prometheus-podman-exporter
```
70 changes: 0 additions & 70 deletions ize

This file was deleted.

0 comments on commit a49822d

Please sign in to comment.