Debian Codegraph @

docpages/install/install-gentoo-portage.md

raw symbols SCIP
1 \page install-gentoo-portage Installing with Portage (Gentoo)
2
3 D++ is available on [GURU](https://wiki.gentoo.org/wiki/Project:GURU). To install D++, you must first enable the GURU repository.
4 To do so, execute the following commands (as root):
5
6 ```bash
7 emerge --ask app-eselect/eselect-repository
8 eselect repository enable guru
9 emaint sync --repo guru
10 ```
11
12 This enables the GURU repository, which consists of user-contributed packages, such as D++!
13
14 If you wish, you may enable coroutine and voice support through USE flags. To do so, using your text editor of choice, add the following line to `/etc/portage/package.use/dpp` (as root):
15
16 ```
17 dev-cpp/dpp voice coro
18 ```
19 > You may choose between voice, coro, or both, just pick and choose!
20
21 You will now be able to use D++ by including its library on the command line:
22
23 ```bash
24 g++ mybot.cpp -o mybot -ldpp
25 ```
26
27 \include{doc} install_prebuilt_footer.dox