-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: create Gentoo installation tutorial (#1211)
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
\page install-gentoo-portage Installing with Portage (Gentoo) | ||
|
||
D++ is available on [GURU](https://wiki.gentoo.org/wiki/Project:GURU). To install D++, you must first enable the GURU repository. | ||
To do so, execute the following commands (as root): | ||
|
||
```bash | ||
emerge --ask app-eselect/eselect-repository | ||
eselect repository enable guru | ||
emaint sync --repo guru | ||
``` | ||
|
||
This enables the GURU repository, which consists of user-contributed packages, such as D++! | ||
|
||
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): | ||
|
||
``` | ||
dev-cpp/dpp voice coro | ||
``` | ||
> You may choose between voice, coro, or both, just pick and choose! | ||
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 |