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

521 B

\page install-linux-rpm Installing from a .rpm file (RedHat, CentOS and derivatives)

To install D++ on a system from .rpm using yum (as root):

yum install wget
wget -O dpp.rpm https://dl.dpp.dev/latest/linux-x64/rpm
yum localinstall dpp.rpm

This will do the following three things:

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

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

g++ mybot.cpp -o mybot -ldpp