Steam for Linux > Limited Beta > Themendetails
sam 8. Dez. 2012 um 7:01 Uhr
Cleanly installing on Debian Sid
If you wish to install the client on a Debian system without polluting it with Ubuntu packages and/or other external dependencies, here's a quick HOWTO.

1. Make sure your apt-get understands multiarch if you're on amd64

2. Install i386 packages that are available in Debian

apt-get install libgl1-mesa-glx:i386 \
libgl1-mesa-dri:i386 libcurl3-gnutls:i386 libogg0:i386 \
libpixman-1-0:i386 libsdl1.2debian:i386 libtheora0:i386 \
libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386 \
libasound2:i386 libc6:i386 libcairo2:i386 libcups2:i386 \
libdbus-1-3:i386 libfontconfig1:i386 libfreetype6:i386 \
libgcc1:i386 libgcrypt11:i386 libgdk-pixbuf2.0-0:i386 \
libglib2.0-0:i386 libgtk2.0-0:i386 libnspr4:i386 \
libnss3:i386 libopenal1:i386 libpango1.0-0:i386 \
libpng12-0:i386 libpulse0:i386 libstdc++6:i386 \
libx11-6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 \
libxrandr2:i386 libxrender1:i386 zlib1g:i386

If you are using an NVidia card with the proprietary drivers:

apt-get install libgl1-nvidia-glx:i386

3. Choose a directory for Steam, such as /opt/steam

mkdir /opt/steam
cd /opt/steam

4. Download Steam and Ubuntu packages

wget http://media.steampowered.com/client/installer/steam.deb
M=http://ubuntu.wikimedia.org/ubuntu/pool
wget "${M}/main/libj/libjpeg-turbo/libjpeg-turbo8_1.2.1-0ubuntu2_i386.deb"
wget "${M}/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb"
wget "${M}/universe/j/jockey/jockey-common_0.9.7-0ubuntu11_all.deb"

5. Extract everything in /opt/steam

for x in *.deb ; do dpkg -x "${x}" /opt/steam ; done

6. Fix the steam script so that it understands $STEAMLIBS

sed -i 's@/usr/lib@$STEAMLIBS@' /opt/steam/usr/bin/steam

7. Create a custom launch script with the following contents and put it anywhere:

#!/bin/sh
BASE="/opt/steam"
export STEAMLIBS="${BASE}/usr/lib"
export LD_LIBRARY_PATH="${BASE}/lib/i386-linux-gnu:${BASE}/usr/lib/i386-linux-gnu"
export LC_ALL="C"
exec "${BASE}/usr/bin/steam" "$@"

8. Run
Zuletzt bearbeitet von sam; 9. Dez. 2012 um 15:52 Uhr
Beiträge 1 - 15 von 16
< >
pankid 8. Dez. 2012 um 7:56 Uhr 
For some reason when I ran the second step to install i386 packages I received a pre-dependency error. when I try to run apt-get -f install it attempts to install libgcc1:i386. Then I get a predepencency error saying libgcc1:i386 pre-depends on multiarch-support multiarch-support is unpacked, but has never been configured.
sam 8. Dez. 2012 um 8:40 Uhr 
Ursprünglich geschrieben von pankid:
For some reason when I ran the second step to install i386 packages I received a pre-dependency error. when I try to run apt-get -f install it attempts to install libgcc1:i386. Then I get a predepencency error saying libgcc1:i386 pre-depends on multiarch-support multiarch-support is unpacked, but has never been configured.
I have seen someone else with this problem. Apparently the following fixed it for them:
dpkg -i --force-depends /var/cache/apt/archives/libgcc1_1%3a4.7.2-4_i386.deb
apt-get -f install
Not very nice, but it worked.
Zuletzt bearbeitet von sam; 8. Dez. 2012 um 8:41 Uhr
pankid 8. Dez. 2012 um 12:28 Uhr 
Thank you for the fix. I am some what of a noob to linux and was scared I was going to have to re-install. I am glad that as soon as I got an invite to this beta people already had fixes for installing on debian posted.
Myst¡c Bogart 8. Dez. 2012 um 14:59 Uhr 
Your code is the second time I tried to install steam, but I used apt-get purge steam to remove it before I installed this. But now when I try to use your run code I get this error in the steam window after it updated:
Fatal Error: Steam Failed to load: *SteamStartEngine(0xffd84ea0) failed with error 1: A Steam Engine Instance already exists
Zuletzt bearbeitet von Myst¡c Bogart; 8. Dez. 2012 um 14:59 Uhr
z33ky 8. Dez. 2012 um 15:13 Uhr 
Try
killall steam
.If the error persists, try rebooting your system.
Zuletzt bearbeitet von z33ky; 8. Dez. 2012 um 15:13 Uhr
Myst¡c Bogart 8. Dez. 2012 um 15:16 Uhr 
$ killall steam
steam: no process found
And I already tried rebooting, but that didn't change anything unfortunately.
Myst¡c Bogart 8. Dez. 2012 um 15:54 Uhr 
Non-problem related, I created a simple launch script for steps 2-6, save it somewhere in a .sh and run it as root.
#!/bin/sh
mkdir /tmp/SteamInstaller
cd /tmp/SteamInstaller
wget http://media.steampowered.com/client/installer/steam.deb
M=http://ubuntu.wikimedia.org/ubuntu/pool
wget "${M}/main/libj/libjpeg-turbo/libjpeg-turbo8_1.2.1-0ubuntu2_i386.deb"
wget "${M}/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb"
wget "${M}/universe/j/jockey/jockey-common_0.9.7-0ubuntu11_all.deb"
for x in *.deb ; do dpkg -x "${x}" /opt/steam ; done
sed -i 's@/usr/lib@$STEAMLIBS@' /opt/steam/usr/bin/steam
CompleteNOOB 9. Dez. 2012 um 3:40 Uhr 
I like this solution.

However, this won't work as it is when running a 64bits Debian, and the given "fix" hides the problem without fixing it. You should NOT install "multiarch-support:i386" since (again, on 64bits) this will conflict with "multiarch-support" and remove it (which is bad).

Instead, simply add the i386 architecture using dpkg (that's the point of the multiarch support).
dpkg --add-architecture i386
Then install all the i386 packages except "multiarch-support:i386".

This seems to work very well on Debian 7 Wheezy beta, which is frozen and way more stable than sid, but I still have to try to effectively play a game (currently downloading...).



TL;DR
Do not install "multiarch-support:i386"!
dpkg --add-architecture i386
Zuletzt bearbeitet von CompleteNOOB; 9. Dez. 2012 um 4:08 Uhr
nesdavid 9. Dez. 2012 um 7:12 Uhr 
Works great in wheezy amd64!
If you are in a 64 bit environment then you only have to change the package multiarch-support:i386 for multiarch-support (without the 386)
Seegras 9. Dez. 2012 um 8:52 Uhr 
jockey-common depends on python-xkit, and is only used for changing the X11 configuration anyway (installing nvidia-drivers for instance). There is no need to do that on a well configured system. So I'd rather build a fake package with equivs or ignore it altogether.

What I did was repacking the archive, with removing the version-numbers for multiarch-support and libpulse0, see http://ailoo.net/2009/06/repack-a-deb-archive-with-dpkg-deb/ and compiling the debian-version of libjpeg-turb08 from git:

git clone git://anonscm.debian.org/users/osamu/libjpeg-turbo.git ; tar cvaf libjpeg-turbo_1.2.0.orig.tar.xz libjpeg-turbo ; cd libjpeg-turbo ; dpkg-buildpackage ; cd .. ; dpkg --auto-deconfigure -i libjpeg-turbo8_1.2.0-1_i386.deb
sam 9. Dez. 2012 um 15:53 Uhr 
Ursprünglich geschrieben von CompleteNOOB:
I like this solution.

However, this won't work as it is when running a 64bits Debian, and the given "fix" hides the problem without fixing it. You should NOT install "multiarch-support:i386"
Oops, you’re right. I edited the original post to remove it.
fate 15. Dez. 2012 um 6:26 Uhr 
Thank you for this how to sam, it's very useful ;)
Big Mac 10. Jan. 2013 um 2:58 Uhr 
How does steam check if the packages are installed ? Does I check if the .deb is installed or only if it can find the libraries ?
Because as far as I can tell it doesn't look like steam is using the libraries form the Ubuntu packages. Since I have libc6 from the experimental repo I only need libjpeg-turbo8 and jockey-common.
But steam keeps complaining about libjpeg-turbo8 and jockey-common needed to be installed:
Package jockey-common needs to be installed
Package libjpeg-turbo8:i386 needs to be installed
Besides since yesterday's update it pops-up a terminal with
sudo apt-get install jockey-common libjpeg-turbo8:i386
executed. Which is quite annoying.
Since I used to have steam installed without any library hack from Ubuntu packages and the same result, I was wondering if it's just me or if any one of you managed to run steam properly.
sam 26. Jan. 2013 um 7:33 Uhr 
I suppose it checks for the libraries. Checking for installed packages is too error-prone. I do manage to run Steam on Debian using the above technique, ie. unpacking Ubuntu packages in a separate directory instead of actually installing them.
instabilis 26. Jan. 2013 um 8:30 Uhr 
Recent Steam packages include 'steamdeps' which is installed under /usr/bin, you can remove it if you are confident enough to manage dependancies yourself.
Beiträge 1 - 15 von 16
< >
Pro Seite: 15 30 50