diff --git a/Makefile b/Makefile index 2f837d5..6b53112 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ uninstall: echo "Do 'sudo make purge' to remove it." # remove config files, like apt purge -purge: +purge: uninstall rm -rf /etc/naxalnet clean: diff --git a/README.md b/README.md index c5fbaed..f17e363 100644 --- a/README.md +++ b/README.md @@ -84,9 +84,9 @@ Install the requirements from the Ubuntu repositories: ```sh # batctl is optional -pkcon install systemd python3-pip iwd batctl +sudo apt install systemd python3-pip iwd batctl build-essential # Now, install dasbus with pip -pkexec pip3 install dasbus +sudo pip3 install dasbus ``` Now follow the instructions in the @@ -100,7 +100,7 @@ available on Fedora 34 and above. Install the dependencies: ```sh # systemd-resolved may be required for rawhide -pkcon install systemd-networkd iwd python3-dasbus python3-setuptools +sudo dnf install systemd-networkd iwd python3-dasbus python3-setuptools ``` Now head over to the [next section][install-manual] to install naxalnet. @@ -258,14 +258,15 @@ When a shutdown occurs, [enable naxalnet][enablenx] ## Uninstalling If you installed naxalnet manually, use make uninstall to remove -naxalnet and its data files: +naxalnet and its data files. This requires python pip to be installed. ```sh +# Uninstall the program, keeping the config files sudo make uninstall +# Or, to uninstall and remove config files +sudo make purge ``` -This requires python pip to be installed. - ## Contributing or reporting bugs See [HACKING.md](HACKING.md)