Skip to content

Commit

Permalink
readme.md: document pipx option for debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
margau authored Jul 31, 2023
1 parent 8f5220e commit 466c7ee
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,23 @@ Feel free to contribute improvements, as well as support for non-apt based syste

## Installation

### Global pip installation
Run `pip3 install pkg-exporter`.

### Install from source
Clone the repository and run `poetry install` from the main directory.
You can also use other standard installation methods for python packages, like directly installing from this git repository.

The pyinstaller-based binary is not provided any more.

### pipx
If a global pip installation is not possible (e.g. from debian 12 onwards), you can use [pipx](https://pypa.github.io/pipx), either for install, and/or for running pkg-exporter ad hoc:
```
pipx run --system-site-packages pkg-exporter
```

`--system-site-packages` is necessary to provide access to the system python3-apt lib.

### apt-based systems

Currently, only apt-based systems are supported. `python3-apt` needs to be installed on the system.
Expand Down Expand Up @@ -83,4 +93,4 @@ Example alerting rules will be provided in the future.
## Roadmap

- Support for other pkg managers
- Deployment as dpkg-Packet
- Deployment as dpkg-Packet

0 comments on commit 466c7ee

Please sign in to comment.