From c7f8a5faec055e76e54d56509475cd93cbed5e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Thu, 2 May 2024 15:44:11 +0300 Subject: [PATCH] Add distro packages section to README.md --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc72ca9..6d18196 100644 --- a/README.md +++ b/README.md @@ -10,22 +10,49 @@ A fast, simple TUI for interacting with [systemd](https://en.wikipedia.org/wiki/ ## Install -Note: this project only works on Linux (WSL works _if_ you [have systemd enabled](https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/)). Binaries are published for x64 and ARM64 in the GitHub releases, and [a Nix package](https://search.nixos.org/packages?query=systemctl-tui) is available. +Note: this project only works on Linux (WSL works _if_ you [have systemd enabled](https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/)). Binaries are published for x64 and ARM64 in the GitHub releases, and [distro packages](#distro-packages) are available. If you'd rather build from scratch you will need [Rust installed](https://rustup.rs/). Then either: 1. Run `cargo install systemctl-tui` 2. Clone the repo and run `cargo build --release` to get a release binary at `target/release/systemctl-tui` +### Distro Packages + +
+ Packaging status + +[![Packaging status](https://repology.org/badge/vertical-allrepos/systemctl-tui.svg)](https://repology.org/project/systemctl-tui/versions) + +
+ +#### Arch Linux + +`systemctl-tui` can be installed from the [official repositories](https://archlinux.org/packages/extra/x86_64/systemctl-tui/): + +```sh +pacman -S systemctl-tui +``` + +#### Nix + +[A Nix package](https://search.nixos.org/packages?query=systemctl-tui) is available and can be installed as follows: + +```sh +nix-shell -p systemctl-tui +``` + #### Optional: 1. Alias `systemctl-tui` to `st` for quick access 2. Create a symlink so `systemctl-tui` can be used with sudo: + ```sh sudo ln -s ~/.cargo/bin/systemctl-tui /usr/bin/systemctl-tui ``` ## Help + ![image](https://github.com/rgwood/systemctl-tui/assets/26268125/83e26502-665b-41a7-9940-b0c03d054e9a) ## Credits