1 files changed, 33 insertions(+), 1 deletions(-)
M README.md => 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:
$ 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.
$ git clone https://git.sr.ht/~martijnbraam/bootinfo
$ cd bootinfo
$ sudo python setup.py install
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:
$ sudo pip3 install bootinfo