@@ -36,24 +36,28 @@ Before installing Dispenser, ensure the following are installed on your server:
3636
3737## Installation
3838
39- Download the latest ` .deb ` or ` .rpm ` package from the [ releases page] ( https://github.com/ixpantia/dispenser/releases ) .
39+ Download the package matching your operating system from the [ releases page] ( https://github.com/ixpantia/dispenser/releases ) .
4040
4141### Debian / Ubuntu
4242
43+ Available for Debian 12, Debian 13, and Ubuntu 24.04.
44+
4345``` sh
44- # Download the .deb package
45- # wget https://github.com/ixpantia/dispenser/releases/download/v0.21.0/dispenser-0.21.0-0.x86_64.deb
46+ # Example for Ubuntu 24.04
47+ # wget https://github.com/ixpantia/dispenser/releases/download/v0.21.0/dispenser-0.21.0-0-ubuntu-24 .x86_64.deb
4648
47- sudo apt install ./dispenser-0.21.0-0.x86_64.deb
49+ sudo apt install ./dispenser-0.21.0-0-ubuntu-24 .x86_64.deb
4850```
4951
5052### RHEL / CentOS / Fedora
5153
54+ Available for RHEL 8 and RHEL 9 (and compatible distributions like Rocky Linux).
55+
5256``` sh
53- # Download the .rpm package
54- # wget ...
57+ # Example for RHEL 9
58+ # wget https://github.com/ixpantia/dispenser/releases/download/v0.21.0/dispenser-0.21.0-0.rhel-9.x86_64.rpm
5559
56- sudo dnf install ./dispenser-0.21.0-0.x86_64.rpm
60+ sudo dnf install ./dispenser-0.21.0-0.rhel-9. x86_64.rpm
5761```
5862
5963The installation process will:
@@ -524,42 +528,26 @@ dispenser -s stop
524528
525529## Building from Source
526530
527- ### RPM (RHEL)
528-
529- Before you try to build an rpm package, make sure you have the following
530- installed:
531+ Dispenser uses `just` as a command runner and supports Docker-based builds to ensure compatibility with different operating systems.
531532
532- - `cargo`: Rust package manager and build tool
533- - `rustc`: Rust compiler
534- - `make`: Run make files
535- - `rpmbuild`: Tool to build RPMs
533+ ### Prerequisites
536534
537- Once these dependencies are installed run:
535+ - [Docker](https://docs.docker.com/engine/install/)
536+ - [Just](https://github.com/casey/just)
538537
539- ```
540- make build-rpm
541- ```
538+ ### Build for a specific OS
542539
543- This should create a file called something along the lines of
544- `../dispenser-$VERSION.x86_64.rpm`. There may be minor variations on the Linux
545- distribution where you are building the package.
540+ You can build packages for specific operating systems even if you are not running them locally, as the build process runs inside Docker.
546541
547- ### Deb (Debian & Ubuntu)
548-
549- Before you try to build a deb package, make sure you have the following
550- installed:
551-
552- - `cargo`: Rust package manager and build tool
553- - `rustc`: Rust compiler
554- - `make`: Run make files
555- - `dpkg-dev`: Tool to build DEB files
542+ ```sh
543+ # Build for Debian 12
544+ just build-debian-12
556545
557- Once these dependencies are installed run:
546+ # Build for Ubuntu 24.04
547+ just build-ubuntu-24
558548
559- ```
560- make build-deb
549+ # Build for RHEL 9
550+ just build-rhel-9
561551```
562552
563- This should create a file called something along the lines of
564- `./dispenser.deb`. There may be minor variations on the Linux
565- distribution where you are building the package.
553+ The resulting packages will be named with the OS suffix (e.g., `dispenser-0.21.0-0-ubuntu-24.x86_64.deb`).
0 commit comments