Steam for Linux > Limited Beta > 제목 정보
sam 2012년 12월 8일 오전 7시 01분
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
sam님이 마지막으로 수정; 2012년 12월 9일 오후 3시 52분
16개 중 1-15 표시중
< >
pankid 2012년 12월 8일 오전 7시 56분 
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 2012년 12월 8일 오전 8시 40분 
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.
sam님이 마지막으로 수정; 2012년 12월 8일 오전 8시 41분
pankid 2012년 12월 8일 오후 12시 28분 
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.
[PBG]EksterDude 2012년 12월 8일 오후 2시 59분 
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
[PBG]EksterDude님이 마지막으로 수정; 2012년 12월 8일 오후 2시 59분
z33ky 2012년 12월 8일 오후 3시 13분 
Try
killall steam
.If the error persists, try rebooting your system.
z33ky님이 마지막으로 수정; 2012년 12월 8일 오후 3시 13분
[PBG]EksterDude 2012년 12월 8일 오후 3시 16분 
$ killall steam
steam: no process found
And I already tried rebooting, but that didn't change anything unfortunately.
[PBG]EksterDude 2012년 12월 8일 오후 3시 54분 
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 2012년 12월 9일 오전 3시 40분 
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
CompleteNOOB님이 마지막으로 수정; 2012년 12월 9일 오전 4시 08분
nesdavid 2012년 12월 9일 오전 7시 12분 
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 2012년 12월 9일 오전 8시 52분 
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 2012년 12월 9일 오후 3시 53분 
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 2012년 12월 15일 오전 6시 26분 
Thank you for this how to sam, it's very useful ;)
Big Mac 2013년 1월 10일 오전 2시 58분 
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 2013년 1월 26일 오전 7시 33분 
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 2013년 1월 26일 오전 8시 30분 
Recent Steam packages include 'steamdeps' which is installed under /usr/bin, you can remove it if you are confident enough to manage dependancies yourself.
16개 중 1-15 표시중
< >
페이지당: 15 30 50