1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-12 18:57:16 +01:00
SqMod/vendor/DPP/docpages/install/install-linux-rpm.md

21 lines
521 B
Markdown
Raw Normal View History

2023-03-23 19:20:44 +01:00
\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
```