Debian install: Difference between revisions

From Spring
Jump to navigationJump to search
Hoijui (talk | contribs)
mergeing 3 different pages together
 
Abma (talk | contribs)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__TOC__ [[Image:debian.png]]
[[Linux|Linux Setup Guide]] < {{FULLPAGENAME}}
 
__TOC__
[[Image:debian.png]]
 
For packaging <font color="#00DD00">requests</font> or <font color="#FF0000">complaints</font>, please contact [[Linux:Packaging#Debian | the packagers]].


=Debian=
=Debian=
Line 17: Line 22:
http://packages.debian.org/sid/spring
http://packages.debian.org/sid/spring


Often prebuilt packages for i386 and amd64 on the way to enter unstable could be downloaded from the [http://alioth.debian.org/~mammadori-guest spring maintainer's alioth account]. Use them if an urgent upgrade is needed to play online for example, otherwise please wait unstable mirrors to resync.
The packages from unstable are usually up to date, if you always want to use the latests spring packages you should add the following line to your /etc/apt/sources.list
To download them use:
 
<code><pre>
<code><pre>
wget -O- -q http://alioth.debian.org/~mammadori-guest/mammadori-alioth-archive.key | sudo apt-key add -
deb http://ftp.de.debian.org/debian sid main
echo "deb http://alioth.debian.org/~mammadori-guest/ sid main" | sudo tee -a /etc/apt/sources.list > /dev/null
sudo apt-get update
sudo apt-get install spring springlobby
</pre></code>
</pre></code>


If you don't want to use unstable for your system you need to use apt pinning or add a file with the following content in /etc/apt/apt.conf.d/ (i.e. /etc/apt/apt.conf.d/99default):
<code><pre>
APT::Default-Release "stable";
</pre></code>


==5.0 (Lenny)==
==5.0 (Lenny)==
Line 101: Line 108:




{{Finalizing_linux_install}}
= See Also: =
 
* [[Finalizing_linux_install]]
{{Troubleshooting_linux}}
* [[Troubleshooting_linux]]


[[Category:Linux]]
[[Category: Linux]]

Latest revision as of 13:21, 14 June 2014

Linux Setup Guide < Debian install

For packaging requests or complaints, please contact the packagers.

Debian

6.0 (Squeeze - Unstable)

Official packages are available at usual mirrors so just:

sudo apt-get install spring
sudo apt-get install springlobby

will give you the latest packaged and uploaded release of spring for debian.

Debians info page for the spring packages can be found here: http://packages.debian.org/sid/spring

The packages from unstable are usually up to date, if you always want to use the latests spring packages you should add the following line to your /etc/apt/sources.list

deb http://ftp.de.debian.org/debian sid main

If you don't want to use unstable for your system you need to use apt pinning or add a file with the following content in /etc/apt/apt.conf.d/ (i.e. /etc/apt/apt.conf.d/99default):

APT::Default-Release "stable";

5.0 (Lenny)

Version tested: 0.79.1.2

  1. Install needed packages for compiling (as superuser or sudoer)

    aptitude install build-essential p7zip-full zlib1g-dev libfreetype6-dev libsdl1.2-dev libopenal-dev libglew-dev libdevil-dev zip libvorbis-dev libxcursor-dev libglew1.5-dev libboost1.35-dev cmake libwxgtk2.8-dev

  2. Unpack Spring tarball, cd into its directory and compile (as user)

    cd spring-directory
    cmake .
    make

  3. Install as superuser or sudoer

    make install

  4. Unpack Spring Lobby, cd into its directory, compile and install

    cd springlobby-directory
    ./configure --disable-torrent-system --disable-sound
    make

  5. Install as superuser or sudoer

    make install

Optional:

You can install checkinstall and create a deb package by substituting make install with:

checkinstall make install

This will create a deb file along with installing it so next time you can remove it with:

dpkg -r spring-<version> springlobby


4.0 (Etch)

This is not updated for 0.76b1. Somebody check if the install succeeds for the new release this way?

This is for version 0.75b2.

We need to use Yokozar's Ubuntu package, so we need some tricks.

The --build step will take about 15 minutes. Hopefully we have precompiled binaries for etch soon too.

wget -q http://ppa.launchpad.net/spring/ubuntu/387EE263.gpg -O- | \
    sudo apt-key add -

wget http://ppa.launchpad.net/spring/ubuntu/sources.list.d/gutsy.list \
    -O /etc/apt/sources.list.d/springproject.list

sudo apt-get update
sudo apt-get build-dep spring -y
sudo apt-get --build source spring -y
sudo dpkg -i spring_0.75~b2-1_i386.deb spring-data_0.75~b2-1_all.deb

If you want to install SpringLobby also, follow the instructions later on in this guide.

Your paths are: Spring executable in /usr/games/spring and read-only data in /usr/share/games/spring.


See Also: