From af4756c9305c44ed2f2a4268cda22cd219b50cdd Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Wed, 4 May 2022 14:48:30 -0400 Subject: [PATCH] docs: add snap install option to README --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3538804..3bf077ce 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ - [Cargo](#cargo) - [Arch Linux](#arch-linux) - [Debian/Ubuntu](#debianubuntu) + - [Snap](#snap) - [Fedora/CentOS](#fedoracentos) - [Gentoo](#gentoo) - [Nix](#nix) @@ -133,6 +134,20 @@ curl -LO https://github.com/ClementTsang/bottom/releases/download/0.6.8/bottom_0 sudo dpkg -i bottom_0.6.8_amd64.deb ``` +### Snap + +bottom is available as a [snap](https://snapcraft.io/install/bottom/ubuntu): + +```bash +sudo snap install bottom + +# To allow the program to run as intended +sudo snap connect bottom:mount-observe +sudo snap connect bottom:hardware-observe +sudo snap connect bottom:system-observe +sudo snap connect bottom:process-control +``` + ### Fedora/CentOS Available in [COPR](https://copr.fedorainfracloud.org/coprs/atim/bottom/): @@ -169,7 +184,7 @@ nix-env -i bottom ### Solus -``` +```bash sudo eopkg it bottom ```