discord-bot/libs/DPP-10.0.29/docpages/install/install-linux-rpm.md

24 lines
577 B
Markdown
Raw Normal View History

2024-02-22 16:09:56 -05: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):
```bash
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:
```bash
g++ mybot.cpp -o mybot -ldpp
```
\include{doc} install_prebuilt_footer.dox