From a3eda7e4c6647e0a9420e1a361d495967046bb45 Mon Sep 17 00:00:00 2001
From: Paskal Stoyanov <kokotekilata@gmail.com>
Date: Sat, 17 Sep 2022 21:52:52 +0100
Subject: [PATCH] Install instructions
---
README.md | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 46a7e8b..c029532 100644
--- a/README.md
+++ b/README.md
@@ -62,4 +62,36 @@ $ sudo wipeboot --all --invert /dev/mmcblk2
$ sudo wipeboot /dev/mmcblk2
Found 'Sunxi/Allwinner eGON header' on /dev/mmcblk2 offset 8192B
-```
\ No newline at end of file
+```
+
+## Install via package manager
+
+On [Alpine](https://www.alpinelinux.org/) and
[postmarketOS](https://postmarketos.org/) you can install `Bootinfo`
through the package manager:
+
+```shell-session
+$ apk add bootinfo
+```
+
+## Install locally
+
+You can build and install package locally.
+This is the preferred method if `Bootinfo` is not available in your
distribution repositories.
+
+```shell-session
+$ git clone https://git.sr.ht/~martijnbraam/bootinfo
+$ cd bootinfo
+$ sudo python setup.py install
+```
+Note:
+The package has to be installed as `root` user to be able to function
as expected.
+
+## Install via pip
+
+
+You can install `Bootinfo` via [pip](https://pypi.org/project/pip/).
+While this method is very approachable, installing python packages as
`root` user through `pip` is generally ***not*** recommended and
should be avoided if possible:
+
+```shell-session
+$ sudo pip3 install bootinfo
+```
+
--
2.37.3