-
Notifications
You must be signed in to change notification settings - Fork 0
Installing
Installing with make
is easy as pie, the only command needed is the following:
root# make install
However, there is another manual option that requires copying by the final build to the system and making it executable:
root# cp ./build/xawp /usr/bin/ # Copies the build to /usr/bin
root# chmod +x /usr/bin/xawp # Changes the permissions of the file to be executable
You also need to install the configuration file. To do so, follow the next steps:
Just like installing with make
, using using it to install the configuration file across all users is easy:
root# make install-config
There are 2 ways to install the configuration file manually:
1. By installing across all users
root# for f in /home/*/; do \
install -d --owner=$(stat -c "%U" $f) --group=$(stat -c "%G" $f) -m 755 "$f.config/" ; \
install -d --owner=$(stat -c "%U" $f) --group=$(stat -c "%G" $f) -m 755 "$f.config/xawp/" ; \
install -t "$f.config/xawp/" --owner=$(stat -c "%U" $f) --group=$(stat -c "%G" $f) -m 755 ./.config/xawp/xawp.conf ; \
done
This will make sure that every user with a home directory located in /home/
will have .config/xawp/xawp.conf
2. By copying the configuration file to yourself only
foo$ cp --parents -r ./.config/xawp/xawp.conf $HOME
This will make sure ./.config/xawp/xawp.conf will be copied completely to your home directory. You can replace $HOME
with another directory as well, but it would be required for the right file permissions to do so.
To uninstall XAWP, see the uninstalling page.
See how to use XAWP in the usage wiki page.
XAWP Copyright© 2022-2023 TheRealOne78 - Licensed under GNU GPL V3+