Building Flightgear - Gentoo: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (→‎Build and install: terragear name)
(Separate section for updating)
Line 24: Line 24:


  emerge -av flightgear
  emerge -av flightgear
== Updating the live ebuilds ==


Another benefit is the possibility to do automatic updates of all installed "live" ebuilds:
Another benefit is the possibility to do automatic updates of all installed "live" ebuilds:
Line 35: Line 37:
  emerge smart-live-rebuild
  emerge smart-live-rebuild


Then you can tell '''smart-live-rebuild''' to check the packages you want i.e :
Then you can tell '''smart-live-rebuild''' to check the ebuilds you want i.e :


  smart-live-rebuild -f simgear flightgear
  smart-live-rebuild -f simgear flightgear

Revision as of 19:48, 29 November 2012

HowTo build on Gentoo

The stable releases can be obtained directly from the official Gentoo portage tree.

Installing GIT versions

There is a gaming overlay available which contains ebuilds for FG from GIT, including Terragear-cs and other things:

http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=summary

Instructions on how to add an overlay to Gentoo can be found here

Build and install

The overlay contains live ebuilds (meaning ebuilds that install programs from an GIT repository) for

including all dependencies.

To install a program, all that's needed is i.e.:

emerge -av flightgear

Updating the live ebuilds

Another benefit is the possibility to do automatic updates of all installed "live" ebuilds:

emerge -a1v @live-rebuild

Alternately you can use smart-live-rebuild, a tool that rebuilds live packages only if there have been updates to the repository.

First you need to install smart-live-rebuild:

emerge smart-live-rebuild

Then you can tell smart-live-rebuild to check the ebuilds you want i.e :

smart-live-rebuild -f simgear flightgear