INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
Installing GearBox on Gentoo Linux
Portage overlayThe first step is to set up a local overlay for portage. If you already have a local overlay, you can skip this section. If you don't know what an overlay is, see the Gentoo Documentation.Follow these simple steps to create an overlay:
Download and copy ebuildDownload the Gearbox ebuild from the Gearbox download page. This ebuild must be copied into the local overlay so that portage can find it. Extract the downloaded files into your local overlay directory. This should create a subdirectory called dev-libs with a subdirectory called gearbox inside it.Keyword the ebuildIf the Gearbox ebuild is masked, it will need to be unmasked before it can be installed. Add the following line to /etc/portage/package.keywords to unmask it.
dev-libs/gearbox ** Set USE flagsThis step is optional. If you wish to install Gearbox with the default options, move on to the next step.The Gearbox ebuild provides many USE flags to control which libraries are installed. They can be set at install time by specifying them on the command line, for example:
USE="hokuyo_aist" emerge gearbox -av Alternatively, they can be set more permanantly be specifying them in /etc/portage/package.use:
dev-libs/gearbox hokuyo_aist A full list of available USE flags is given below. For a list of those provided by your current ebuild for Gearbox, run equery uses gearbox.
InstallRun the following command to install Gearbox.
emerge gearbox Gearbox will be automatically downloaded, compiled with the options you have selected via USE flags, and installed. Any necessary dependencies for the libraries to be installed will also be installed. Gearbox will be installed with the prefix /usr. Remember to take this into account when setting compile options such as library and include paths for your programs. UninstallTo remove Gearbox from your system, run the following command.
emerge -C gearbox |