1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/vendor/DPP/docpages/install/install-linux-deb.md
Sandu Liviu Catalin cbd8f8b028 Add D++ library.
2023-03-23 20:20:44 +02:00

488 B

\page install-linux-deb Installing from a .deb file (Debian, Ubuntu, Derivatives)

To install D++ on a system from .deb using dpkg (as root):

apt install wget
wget -O dpp.deb https://dl.dpp.dev/
dpkg -i dpp.deb

This will do the following three things:

  • Install wget
  • Use wget to download the latest release of D++ to dpp.deb
  • Install dpp.deb to /usr

You will now be able to use D++ by including its library on the command line:

g++ mybot.cpp -o mybot -ldpp