Slackware install: Difference between revisions

From Spring
Jump to navigationJump to search
Jk (talk | contribs)
No edit summary
Abma (talk | contribs)
copied from finalizing linux install
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__TOC__ [[Image:Slackware.png]]
[[Linux|Linux Setup Guide]] < {{FULLPAGENAME}}
=== Slackware 12 ===


Working for version 0.76b1.
__TOC__
[[Image:Slackware.png]]


There is all dependencies in precompiled tgz's:
For packaging <font color="#00DD00">requests</font> or <font color="#FF0000">complaints</font>, please contact [[Linux:Packaging#Slackware | the packagers]].


[http://rapidshare.com/files/131501453/spring-0.76b1-i486-1leo.tgz spring 0.76b1]
= Slackware =


[http://rapidshare.com/files/131501452/openal-0.0.8-i486-1df.tgz openAL 0.8]
version 89.0 for Slackware 13.37 and 14.00 x86_64 (there is an update for boost libraries for 13.37)


[http://rapidshare.com/files/131501448/DevIL-1.6.8rc2-i386-1ajl.tgz DevIL 1.6.8]
There is 3 ways to install springrts for Slackware, compiling from scratch, downloading slackbuild packages, or running a script that download the slackware packages and set the game for you.


[http://rapidshare.com/files/131501449/boost-1.34.1-i486-2gds.tgz boost 1.34.1]
== Installing using script ==


[http://rapidshare.com/files/131501451/icu-3.8.1-i486-1gds.tgz icu 3.8.1]
There is a script named [http://corec.cl/spring/spring_slackware_64b_installer.sh  spring_slackware_64b_installer.sh], you must download it and run:


[http://rapidshare.com/files/131501450/glew-1.5.0-i586-1leo.tgz glew 1.5.0]
<code>
chmod +x spring_slackware_64b_installer.sh


[http://rapidshare.com/files/132998485/libtorrent_rasterbar-0.13.1-i486-1leo.tgz libtorrent-rasterbar]
su -c spring_slackware_64b_installer.sh
</code>


[http://rapidshare.com/files/132998486/springlobby-0.0.1.10292-i486-1leo.tgz springlobby]
The command will ask for the root password, detect Slackware version and operative system architecture. The script will create the folder <code>sb_packages</code> to save files, and then install files. (just x86_64 is ready now).


[http://rapidshare.com/files/131501454/wxwidgets-2.8.7-i486-1gds.tgz wxwidgets 2.8.7]
At the end you just need to run springlobby to start to play.
 
<code>
springlobby
</code>
 
== Installing using SlackBuilds packages ==
 
Download packages from next links and install them running as root:
 
<code>
upgradepkg --reinstall --install-new *.t?z
</code>
 
The packages are:
 
[http://corec.cl/spring/DevIL-1.6.8_rc2-x86_64-3_SBo.tgz DevIL-1.6.8_rc2-x86_64-3_SBo.tgz]
 
[http://corec.cl/spring/icu4c-4.6.1-x86_64-1_SBo.tgz icu4c-4.6.1-x86_64-1_SBo.tgz]
 
[http://corec.cl/spring/libtorrent-rasterbar-0.15.9-x86_64-1_SBo.tgz libtorrent-rasterbar-0.15.9-x86_64-1_SBo.tgz]
 
[http://corec.cl/spring/OpenAL-1.13-x86_64-1_SBo.tgz OpenAL-1.13-x86_64-1_SBo.tgz]
 
[http://corec.cl/spring/p7zip-9.20.1-x86_64-1_SBo.tgz p7zip-9.20.1-x86_64-1_SBo.tgz]
 
[http://corec.cl/spring/spring-89.0-x86_64-1_SBo.tgz spring-89.0-x86_64-1_SBo.tgz]
 
[http://corec.cl/spring/wxGTK-2.8.12-x86_64-2_SBo.tgz wxGTK-2.8.12-x86_64-2_SBo.tgz]
 
[http://corec.cl/spring/boost-1.49.0-x86_64-1.txz boost-1.49.0-x86_64-1.txz]
 
[http://corec.cl/spring/springlobby-0.147-x86_64-1_SBo.tgz springlobby-0.147-x86_64-1_SBo.tgz]
 
The '''gcc 4.7.1''' force us to upgrade boost library at least to 1.48 version, we choose 1.49 to distribute with spring because that will be the version of boost in Slackware 14 (not released yet), and until know there is no problems with libraries in 13.37 slackware version.
 
=== maps ===
 
Here is some maps that you want
 
*[http://springfiles.com/spring/spring-maps/deltasiegedry DeltaSiegeDry.sd7]
*FolsomDamFinal.sd7
*LLTAComplexV2.sd7
*Small_Supreme_Battlefield_V2.sd7
*SpeedMetal.sd7
*Tabula-v2.sd7
*TheRockFinal.sd7
*Tropical.sd7
*Wide Pass v3.2.sd7
*folsomdamdeluxev4.sd7
 
=== packages ===
 
Depending on both, architecture and version of Slackware you are using, there are different versions of packages. this is an example for Slackware 13.37.0 64bits.
 
*DevIL-1.6.8_rc2-x86_64-3_SBo.tgz
*OpenAL-1.12.854-x86_64-1_SBo.tgz
*icu4c-4.6.1-x86_64-1_SBo.tgz
*libtorrent-rasterbar-0.15.5-x86_64-1_SBo.tgz
*p7zip-9.13-x86_64-1_SBo.tgz
*spring-0.82.7.1-x86_64-1_SBo.tgz
*springlobby-0.131-x86_64-1_SBo.tgz
*wxGTK-2.8.12-x86_64-1_SBo.tgz
 
=== How to choose the correct installer file? ===
 
You need to know just 3 things: what version of spring do you want, what version of Slackware is running, and what kind of architecture you have. To know what version of spring, you just need to go to [http://www.springrts.com http://www.springrts.com] and check the last version. if this page is missing the latest version, just send us a mail. To get the Slackware version of your system, you just need to type this:
 
<code>
cat /etc/slackware-version
</code>
 
and to get the architecture of your CPU, just type:
 
<code>
uname -m
</code>
 
Architectures '''i686''', '''i486''' and any other different from '''x86_64''' are 32bits and should work with '''i486'''.
 
For example, this Slackware version is '''13.1.0''' and the architecture is '''i686''', and I know that the last version of spring is 0.82.7.1, so the required file is:
 
Spring-&lt;SPRING_VERSION&gt;-Slackware-&lt;SLACKWARE_VERSION&gt;-&lt;ARCHITECTURE&gt;.tar.gz
 
Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz
 
== Install using script ==
 
After having downloaded the file, you have to decompress it with:
 
<code>
tar xzvf Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz
</code>
 
This should create a directory with the same name as the file:
 
<code>
cd Spring-0.82.7.1-Slackware-13.1.0-i486/
</code>
 
And there you just run:
 
<code>
./spring_slackware_32b_install.sh
</code>
 
The script will ask for the root password, install packages, copy maps and games, and check a boost symbolic link that this distribution needs to make to run springlobby properly.
 
= Install by package =
 
For a full install, the dependencies in precompiled tgz's for '''32 bits''':
 
[http://dl.dropbox.com/u/1277376/slackware/spring-0.82.7.1-i486-1.tgz spring 0.82.7.1]
 
[http://www.megaupload.com/?d=S3NH7Q0S openAL 1.12.854]
 
[http://www.megaupload.com/?d=QOE461J6 DevIL-1.6.8_rc2]
 
[http://www.megaupload.com/?d=HY45ITXC icu4c-4.4.1-i486]
 
[http://www.megaupload.com/?d=60WU4Q9X p7zip-9.13]
 
There is all dependencies in precompiled tgz's for '''64 bits''' (Slackware 13.0, working on 13.1):
 
[http://www.megaupload.com/?d=MMB8HTQU spring 0.82.6.1]
 
[http://www.megaupload.com/?d=AC75YZ1S openAL 1.10.622]
 
[http://www.megaupload.com/?d=WQ2DGUS8 DevIL-1.6.8_rc2]
 
[http://www.megaupload.com/?d=774C313B boost-1.38.0]
 
[http://www.megaupload.com/?d=HC4OMM5J icu4c-4.2.1]
 
[http://www.megaupload.com/?d=OY1P3ME0 glew-1.5.1]
 
[http://www.megaupload.com/?d=2Q09GME2 libtorrent-rasterbar-0.14.9]


Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:
Line 29: Line 167:
</pre></code>
</pre></code>


When asked for the root password, give it.
When asked for the root password, enter it.
 
A menu entry for spring and another for springlobby will apear in KDE, XFCE and GNOME.
 
Depending on your distribution/package, you still need a Multiplayer Lobby. For Linux, the most common one is SpringLobby, which you can get [http://springlobby.info/wiki/springlobby/Install here]. For Slackware 13.1, the binaries required for SpringLobby:
 
'''32bits''':
 
[http://www.megaupload.com/?d=Q8X69Q01 libtorrent-rasterbar-0.15.0-i486]
 
[http://www.megaupload.com/?d=AGSWZCUM boost-1.42.0-i686]
*NOTE: By default, Slackware don't have *-mt libraries, so, if you want compile/run springlobby, you must make symbolic links to '''libboost_*.so''' libraries in this way:<code><pre>##ln -s /usr/lib/libboost_system.so /usr/lib/libboost_system-mt.so</pre></code>
 
[http://www.megaupload.com/?d=K6GIVCQE wxGTK-2.8.11-i486]
*NOTE: If you have problems compiling/runing springlobby, you must be sure that you are using UNICODE config, to do that, you must run:<code><pre>##wx-config --selected-config</pre></code>, and, if you have a response different to <code>gtk2-unicode-release-2.8</code> you have a problem, and you must compile/install correct package.


A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.
[http://www.megaupload.com/?d=K3OUFTL5 springlobby-0.114-i686] (out of date now on v0.120)


Also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D


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


{{Troubleshooting_linux}}
[[Category: Linux]]

Latest revision as of 13:23, 14 June 2014

Linux Setup Guide < Slackware install

For packaging requests or complaints, please contact the packagers.

Slackware

version 89.0 for Slackware 13.37 and 14.00 x86_64 (there is an update for boost libraries for 13.37)

There is 3 ways to install springrts for Slackware, compiling from scratch, downloading slackbuild packages, or running a script that download the slackware packages and set the game for you.

Installing using script

There is a script named spring_slackware_64b_installer.sh, you must download it and run:

chmod +x spring_slackware_64b_installer.sh

su -c spring_slackware_64b_installer.sh

The command will ask for the root password, detect Slackware version and operative system architecture. The script will create the folder sb_packages to save files, and then install files. (just x86_64 is ready now).

At the end you just need to run springlobby to start to play.

springlobby

Installing using SlackBuilds packages

Download packages from next links and install them running as root:

upgradepkg --reinstall --install-new *.t?z

The packages are:

DevIL-1.6.8_rc2-x86_64-3_SBo.tgz

icu4c-4.6.1-x86_64-1_SBo.tgz

libtorrent-rasterbar-0.15.9-x86_64-1_SBo.tgz

OpenAL-1.13-x86_64-1_SBo.tgz

p7zip-9.20.1-x86_64-1_SBo.tgz

spring-89.0-x86_64-1_SBo.tgz

wxGTK-2.8.12-x86_64-2_SBo.tgz

boost-1.49.0-x86_64-1.txz

springlobby-0.147-x86_64-1_SBo.tgz

The gcc 4.7.1 force us to upgrade boost library at least to 1.48 version, we choose 1.49 to distribute with spring because that will be the version of boost in Slackware 14 (not released yet), and until know there is no problems with libraries in 13.37 slackware version.

maps

Here is some maps that you want

  • DeltaSiegeDry.sd7
  • FolsomDamFinal.sd7
  • LLTAComplexV2.sd7
  • Small_Supreme_Battlefield_V2.sd7
  • SpeedMetal.sd7
  • Tabula-v2.sd7
  • TheRockFinal.sd7
  • Tropical.sd7
  • Wide Pass v3.2.sd7
  • folsomdamdeluxev4.sd7

packages

Depending on both, architecture and version of Slackware you are using, there are different versions of packages. this is an example for Slackware 13.37.0 64bits.

  • DevIL-1.6.8_rc2-x86_64-3_SBo.tgz
  • OpenAL-1.12.854-x86_64-1_SBo.tgz
  • icu4c-4.6.1-x86_64-1_SBo.tgz
  • libtorrent-rasterbar-0.15.5-x86_64-1_SBo.tgz
  • p7zip-9.13-x86_64-1_SBo.tgz
  • spring-0.82.7.1-x86_64-1_SBo.tgz
  • springlobby-0.131-x86_64-1_SBo.tgz
  • wxGTK-2.8.12-x86_64-1_SBo.tgz

How to choose the correct installer file?

You need to know just 3 things: what version of spring do you want, what version of Slackware is running, and what kind of architecture you have. To know what version of spring, you just need to go to http://www.springrts.com and check the last version. if this page is missing the latest version, just send us a mail. To get the Slackware version of your system, you just need to type this:

cat /etc/slackware-version

and to get the architecture of your CPU, just type:

uname -m

Architectures i686, i486 and any other different from x86_64 are 32bits and should work with i486.

For example, this Slackware version is 13.1.0 and the architecture is i686, and I know that the last version of spring is 0.82.7.1, so the required file is:

Spring-<SPRING_VERSION>-Slackware-<SLACKWARE_VERSION>-<ARCHITECTURE>.tar.gz

Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz

Install using script

After having downloaded the file, you have to decompress it with:

tar xzvf Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz

This should create a directory with the same name as the file:

cd Spring-0.82.7.1-Slackware-13.1.0-i486/

And there you just run:

./spring_slackware_32b_install.sh

The script will ask for the root password, install packages, copy maps and games, and check a boost symbolic link that this distribution needs to make to run springlobby properly.

Install by package

For a full install, the dependencies in precompiled tgz's for 32 bits:

spring 0.82.7.1

openAL 1.12.854

DevIL-1.6.8_rc2

icu4c-4.4.1-i486

p7zip-9.13

There is all dependencies in precompiled tgz's for 64 bits (Slackware 13.0, working on 13.1):

spring 0.82.6.1

openAL 1.10.622

DevIL-1.6.8_rc2

boost-1.38.0

icu4c-4.2.1

glew-1.5.1

libtorrent-rasterbar-0.14.9

Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:

su -c "installpkg *.tgz"

When asked for the root password, enter it.

A menu entry for spring and another for springlobby will apear in KDE, XFCE and GNOME.

Depending on your distribution/package, you still need a Multiplayer Lobby. For Linux, the most common one is SpringLobby, which you can get here. For Slackware 13.1, the binaries required for SpringLobby:

32bits:

libtorrent-rasterbar-0.15.0-i486

boost-1.42.0-i686

  • NOTE: By default, Slackware don't have *-mt libraries, so, if you want compile/run springlobby, you must make symbolic links to libboost_*.so libraries in this way:
    ##ln -s /usr/lib/libboost_system.so /usr/lib/libboost_system-mt.so

wxGTK-2.8.11-i486

  • NOTE: If you have problems compiling/runing springlobby, you must be sure that you are using UNICODE config, to do that, you must run:
    ##wx-config --selected-config
    , and, if you have a response different to gtk2-unicode-release-2.8 you have a problem, and you must compile/install correct package.

springlobby-0.114-i686 (out of date now on v0.120)


See Also: