| 1 | \page install-arch-aur Installing from AUR (Arch Linux) |
| 2 | |
| 3 | To install [D++ from AUR](https://aur.archlinux.org/packages/dpp), follow the steps below (as root): |
| 4 | |
| 5 | ```bash |
| 6 | git clone https://aur.archlinux.org/dpp.git |
| 7 | cd dpp |
| 8 | makepkg -si |
| 9 | ``` |
| 10 | |
| 11 | or use your favourite package manager: |
| 12 | |
| 13 | ```bash |
| 14 | # example with `yay` (without root) |
| 15 | yay -Sy dpp |
| 16 | ``` |
| 17 | |
| 18 | This will do the following three things: |
| 19 | |
| 20 | - Clone the D++ AUR repository to a directory called `dpp` |
| 21 | - Change into the directory `dpp` |
| 22 | - Make a pacman package from the AUR repository for D++, and install it |
| 23 | |
| 24 | You will now be able to use D++ by including its library on the command line: |
| 25 | |
| 26 | ```bash |
| 27 | g++ mybot.cpp -o mybot -ldpp |
| 28 | ``` |
| 29 | |
| 30 | \include{doc} install_prebuilt_footer.dox |