updated README

Added new dependency python-systemd
This commit is contained in:
Pranav Jerry 2021-09-04 18:37:30 +05:30
parent 87c5d48144
commit 3774076e03
No known key found for this signature in database
GPG Key ID: F1DCDC4FED0A0C5B

View File

@ -41,14 +41,15 @@ with anyone currently at risk of death in overcrowded prisons.
## Requirements
- [systemd v248 or more][batman-systemd]
- [systemd-networkd v248 or more][batman-systemd]
- Linux kernel with batman-adv module
- [iwd][]
- python
- python-setuptools (for building and installing)
- [dasbus][]
- WiFi adapter with ad-hoc support
- two or more computers, or laptops with WiFi adapter, called nodes
- python3
- python3-setuptools (for building and installing)
- python3-systemd (for logging to systemd journal)
- [python3-dasbus][]
- two or more machines with WiFi adapter having ad-hoc support, called
nodes
- batctl (optional, for debugging)
- python pip (optional, for uninstalling)
@ -74,17 +75,17 @@ you need it.
naxalnet is not packaged for Ubuntu, so you will have to build
and install it manually.
Currently, only the [unreleased 21.10][ubuntu-systemd] comes with the
required version of systemd. Therefore, naxalnet won't work on Ubuntu
21.04 or older.
Currently, only the **unreleased 21.10** comes with the
required version of systemd. Therefore, naxalnet **won't work on Ubuntu
21.04 or older**.
<!-- TODO: remove this message when systemd 248 arrives in 21.04 -->
<!-- TODO: remove this message if systemd 248 arrives in 21.04 -->
Install the requirements from the Ubuntu repositories:
```sh
# batctl is optional
sudo apt install systemd python3-pip iwd batctl build-essential
sudo apt install python3-pip python3-systemd iwd batctl build-essential
# Now, install dasbus with pip
sudo pip3 install dasbus
```
@ -96,11 +97,11 @@ Now follow the instructions in the
naxalnet is not packaged for Fedora, so it should be installed
manually. naxalnet requires atleast systemd v248 which is only
available on Fedora 34 and above. Install the dependencies:
available on **Fedora 34 and above**. Install the dependencies:
```sh
# systemd-resolved may be required for rawhide
sudo dnf install systemd-networkd iwd python3-dasbus python3-setuptools
sudo dnf install systemd-networkd iwd python3-dasbus python3-setuptools python3-systemd
```
Now head over to the [next section][install-manual] to install naxalnet.
@ -319,6 +320,5 @@ See [LICENSE](LICENSE) for the complete version of the license.
[iwd]: https://iwd.wiki.kernel.org "WiFi daemon"
[free-sw]: https://gnu.org/philosophy/free-sw.html "What is free software?"
[enablenx]: #running-at-boot
[ubuntu-systemd]: https://packages.ubuntu.com/impish/systemd
[requirements]: #requirements
[install-manual]: #manually