mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 16:57:16 +01:00
21 lines
521 B
Markdown
21 lines
521 B
Markdown
\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
|
|
``` |