| 1 | \page install-linux-deb Installing from a .deb file (Debian, Ubuntu, and Derivatives) |
| 2 | |
| 3 | To install D++ on a system from `.deb` using `dpkg` (as root): |
| 4 | |
| 5 | ```bash |
| 6 | apt install wget |
| 7 | wget -O dpp.deb https://dl.dpp.dev/ |
| 8 | dpkg -i dpp.deb |
| 9 | ``` |
| 10 | |
| 11 | This will do the following three things: |
| 12 | |
| 13 | - Install `wget` |
| 14 | - Use `wget` to download the latest release of D++ to `dpp.deb` |
| 15 | - Install `dpp.deb` to `/usr` |
| 16 | |
| 17 | You will now be able to use D++ by including its library on the command line: |
| 18 | |
| 19 | ```bash |
| 20 | g++ mybot.cpp -o mybot -ldpp |
| 21 | ``` |
| 22 | |
| 23 | \include{doc} install_prebuilt_footer.dox |