~martijnbraam/bootinfo

463dc12ef0b6ab5d10835f31d6adadf6ed52e7ec — Paskal Stoyanov 2 months ago 4508d45
Install instructions
1 files changed, 33 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +33 -1
@@ 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
```