Gentoo install: Difference between revisions

From Spring
Jump to navigationJump to search
→Upgrading: Update installation paths
Abma (talk | contribs)
No edit summary
Line 8: Line 8:
= Installation =
= Installation =


An overlay to use with layman is provided. If gentoo overlays and/or layman are new to you, [http://overlays.gentoo.org/ read about them], as they are an essential part of gentoo.
See https://github.com/springlobby/springlobby/wiki/Install#Gentoo
 
This example assumes you never used layman before.
 
==Install layman==
<code style="font-size: 80%; color:#9f9"><pre>
### install layman (with git support)
### you don't need to if you used layman before, obviously
echo "app-portage/layman git" >> /etc/portage/package.use
emerge layman
</pre></code>
 
==Install Spring Overlay==
<code style="font-size: 80%; color:#9f9"><pre>
### add spring overlay to layman
layman -a spring -o https://raw.githubusercontent.com/springlobby/overlay/master/overlays.xml
 
### allow installation of unstable versions
echo "games-strategy/spring ~x86" >> /etc/portage/package.keywords/spring.keywords
echo "games-util/springlobby ~x86" >> /etc/portage/package.keywords/spring.keywords
 
### Note: for Layman version <1.3.0 use:
echo "games-strategy/spring ~x86" >> /etc/portage/package.keywords
echo "games-util/springlobby ~x86" >> /etc/portage/package.keywords
 
emerge eselect-wxwidgets wxGTK
 
### make sure wxWidgets has been activated, springlobby will fail without it with error:
### Could NOT find wxWidgets (missing: wxWidgets_FOUND)
eselect wxwidgets list
# Available wxWidgets profiles:
#  [1]  gtk2-unicode-release-2.8 *
 
# if none set, select one with e.g.:
eselect wxwidgets set 1
 
### install game and lobby
emerge spring springlobby
</pre></code>
 
== Upgrading ==
 
<code><pre>
### update the repository and check for new versions
layman -S
 
### to auto update layman with `emerge --sync` do:
mkdir -p /etc/portage/postsync.d/
echo "layman -S" >> /etc/portage/postsync.d/layman
chmod +x /etc/portage/postsync.d/layman
 
### upgrade existing installations
emerge -u spring springlobby
</pre></code>
 
Your paths are: Spring executable in <code>/opt/springrts.com/spring/<version>/bin/spring</code> and
documentation in <code>/usr/share/doc/spring-<version></code>.


= See Also: =
= See Also: =

Revision as of 13:37, 21 December 2021

Linux Setup Guide < Gentoo install

For packaging requests or complaints, please contact the packagers.

Installation

See https://github.com/springlobby/springlobby/wiki/Install#Gentoo

See Also: