Project:GURU/Information for End Users

From Gentoo Wiki
Jump to:navigation Jump to:search

End User Guide

Those who just want to install and use the packages that GURU offers can follow the guide below to add GURU as an ebuild repository.

Adding the GURU repository

The GURU repository can either be added manually or by using one of the ebuild repository management tools. In all cases please ensure that dev-vcs/git is installed, since this is the sync-type that GURU uses.

Using eselect repository

First install app-eselect/eselect-repository if it is not already installed, and next enable the GURU repository:

root #eselect repository enable guru

More information on app-eselect/eselect-repository can be found on the eselect-repository page.

Using layman

First install app-portage/layman if it is not already installed, and next enable the GURU repository:

root #layman -a guru

More information on app-portage/layman can be found on the Layman page.

Manually adding a repos.conf entry

To manually add the GURU repository, simply add the following file:

FILE /etc/portage/repos.conf/guru.conf
[guru]
location = /var/db/repos/guru
sync-type = git
sync-uri = https://github.com/gentoo-mirror/guru.git

More information on repos.conf can be found on the /etc/portage/repos.conf page.

Syncing

Once the GURU repository is added, all that is left to do is to sync the repository:

root # emerge --sync guru

Or alternatively: emaint sync --repo guru.

Note
A plain emerge --sync or emaint sync will synchronize all repositories that have auto-sync enabled (which is the default). This can therefore be used to conveniently synchronize all added repositories with one command.

Congratulations, you can now emerge and use the packages in the GURU repository!