discord-bot/libs/DPP-10.0.29/docpages/install/install-arch-aur.md

31 lines
707 B
Markdown
Raw Normal View History

2024-02-22 16:09:56 -05:00
\page install-arch-aur Installing from AUR (Arch Linux)
To install [D++ from AUR](https://aur.archlinux.org/packages/dpp), follow the steps below (as root):
```bash
git clone https://aur.archlinux.org/dpp.git
cd dpp
makepkg -si
```
or use your favourite package manager:
```bash
# example with `yay` (without root)
yay -Sy dpp
```
This will do the following three things:
- Clone the D++ AUR repository to a directory called `dpp`
- Change into the directory `dpp`
- Make a pacman package from the AUR repository for D++, and install it
You will now be able to use D++ by including its library on the command line:
```bash
g++ mybot.cpp -o mybot -ldpp
```
\include{doc} install_prebuilt_footer.dox