Steam for Linux > Limited Beta > Topic Details
Oleg Dec 11, 2012 @ 10:46am
Installing Steam on Mageia 2 (and other distros with glibc older 2.15)
HOW-TO: Installation Steam on Mageia 2.
This how-to also can be helpful for other distros with old versions of glibc.

What we need:
1. Configure sudo (users don't use sudo in Mageia by default)
2. Install Steam
3. Install proprietaty video driver from unofficial repository, because official repo have Nvidia driver 295.49. It's too old for steam.

Let's go.
1. Configure sudo
su
urpmi sudo
usermod -a -G wheel <your_username>
geany /etc/sudoers
// you can use any other text writer, not only geany

if you want to use sudo with password
find next string:
# %wheel ALL=(ALL) ALL
and uncomment it (delete # at the string beginning)

if you want to use sudo without password
find next string:
# %wheel ALL=(ALL) NOPASSWD: ALL
and uncomment it (delete # at the string beginning)

Save changes, leave (quit) sesion and start new or you can simply reboot PC.

2. Installing steam
cd ~
mkdir Steam
cd Steam
mkdir libs
mkdir libs-full
mkdir steam-files
wget http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10.2_i386.deb
dpkg -x libc6_2.15-0ubuntu10.2_i386.deb libs-full
cp ./libs-full/lib/i386-linux-gnu/* ./libs
wget http://media.steampowered.com/client/installer/steam.deb
dpkg -x steam.deb steam-files
cd steam-files
su
rsync -rv ./usr /
exit
cd ..
wget http://xxblx-duke.com/downloads/steam.zip
unzip steam.zip
chmod +x steam.sh
sh steam.sh
After this you will see xtrem windows, it will ask sudo password.
Enter password and you will see Steam Updater window and Steam Login window later.

After login Steam will be closed becaused it need Nvidia driver version >= 304.22.

3. Installing proprietaty video driver for Nvidia from Mageia Russian Community repository
Be careful! That are unofficial repo and unofficial driver package! That can do some problems with your system like x-server don't start at system launching, etc.
If you don't know what you doing - don't do these actions!

for i586
su
urpmi.addmedia --wget --distrib MageiaLinux.ru-i586- http://packages.mageialinux.ru/mageia2/i586/
exit

for x86_64
su
urpmi.addmedia --wget --distrib MageiaLinux.ru-x86_64- http://packages.mageialinux.ru/mageia2/x86_64/
exit

Open RpmDrake GUI and use search.
You need find and install x11-driver-video-nvidia-current and dkms-nvidia-current packages with version 304.60 and prefix 1.mrc.mga2. Installation will be long.
After installation you need reboot your PC.

Launch Steam
cd ~/Steam
sh steam.sh

Have Fun!

p.s. I adapted debian's and fedora's manuals to mageia. When it was done, I wrote this manual. So, thx to debian and fedora manuals authors )

p.p.s. helpful information about steam dependencies and helpful information for Mageia 64-bit users can be found here (thx to Palewolf).
Last edited by Oleg; Dec 29, 2012 @ 6:35am
Showing 1-10 of 10 comments
< >
Olorin Dec 12, 2012 @ 8:49am 
You might be interested in the src.rpm's with the Fedora patch: http://software.opensuse.org/package/steam. Some games will of course require a newer version of glibc, but in my opinion your approach is highly risky. Also, a backport of the Nvidia driver in Cauldron might be better. You can of course link to this as well for the really brave: http://onse.fi/nvidia-mgabuild/.
zenitur Dec 12, 2012 @ 9:19am 
Thank ypu for your tutorial! But it is necessary to configure sudo? Whether Steam will work without it?
Oleg Dec 12, 2012 @ 10:47am 
Olorin, thx for src.rpm. but it need spec-file editing before building rpm for mageia. May be later I rebuild package.

zenitur, steam script from steam.deb package can work with sudo, gksudo and kdesudo now.
If you want use steam without sudo, you need modify steam scripts to using su (for example, it will look like: su -c command) or working without root privileges at all.
I can't do this now, because I haven't enough time. May be I'll trying to do this later.

p.s. you can trying to run steam without root access by this how-to:
http://steamcommunity.com/app/221410/discussions/0/846939071134403593/
but it's for ubuntu.
Rewrite Dec 12, 2012 @ 6:18pm 
and how can I install with amd card?
Oleg Dec 13, 2012 @ 2:08pm 
Originally posted by Rewrite:
and how can I install with amd card?
You need to do 1st and 2nd parts of tutorial.
When it will be done try ro run steam. If it will work fine - good, else you need to update your video driver to new version. But I don't know how to update amd drivers and where you can find packages with new drivers, because I don't use amd/ati since 2008. I use only nvidia cards.
May be you need trying to install driver from amd web site or something else. Check forum part about amd cards. It may be helpful for you.
MrChrodo Dec 20, 2012 @ 11:45am 
i recently changed from Kubuntu to Mageia Linux and i really like it. Everything worked fine, even the graphics setup, much easier than on Kubuntu, even with better performance.

But when i start Steam, it updates, as it should be, and then, there is a popup saying

"Steam needs to install these additional packages: jockey-common python-apt"

Is there a way to install them? Since Mageia is rpm-based, python-apt is not in the repos, and jockey-common not even either :/
Palewolf Dec 22, 2012 @ 7:33am 
Doesn't work for me, when I try launching steam it fails with "Fatal Error: Failed to load steamui.so".

Maybe it's because i'm on a 64bit system, but i've tried replacing the i386.deb for amd64.deb and got the same result... not that it should matter as steam is a 32 bit app anyway.

Any insight on this?

EDIT:
Nevermind, it seems i was missing libpng12 (32bit)
Oleg Dec 27, 2012 @ 12:44pm 
Originally posted by MrChrodo:
i recently changed from Kubuntu to Mageia Linux and i really like it. Everything worked fine, even the graphics setup, much easier than on Kubuntu, even with better performance.

But when i start Steam, it updates, as it should be, and then, there is a popup saying

"Steam needs to install these additional packages: jockey-common python-apt"

Is there a way to install them? Since Mageia is rpm-based, python-apt is not in the repos, and jockey-common not even either :/
Installed python packages in my system:
[duke@duke-lin ~]$ rpm -qa | grep python
python-virtualenv-1.7-1.mga2
python-sqlite2-2.5.5-3.mga1
libpython2.7-2.7.3-2.3.mga2
python-vte-0.28.2-4.1.mga2
python-decorator-3.3.2-1.mga2
python-qt4-designer-4.9.1-1.1.mga2
python-qt4-sql-4.9.1-1.1.mga2
python-notify-0.1.1-7.mga2
python-desktop-agnostic-0.3.92-1.mga2
python-curl-7.19.0-6.mga1
python-twisted-web-11.1.0-1.mga2
python-telepathy-0.15.19-1.mga1
gnome-python-bonobo-2.28.1-4.mga2
python-qt4-multimedia-4.9.1-1.1.mga2
python-chardet-2.0.1-3.mga1
python-oauth-1.0.1-3.mga1
python-reportlab-2.5-5.mga1
python-rpm-4.9.1.3-2.1.mga2
python-mate-marco-1.4.0-1.mrc.mga2
python-qt4-xmlpatterns-4.9.1-1.1.mga2
python-OpenSSL-0.12-1.mga2
python-kde4-4.8.5-1.1.mga2
python-libtorrent-rasterbar-0.15.9-1.mga2
python-pkg-resources-0.6.24-2.mga2
python-mate-1.4.0-1.mrc.mga2
python-qt4-qscintilla-2.6.1-1.mga2
python-qt4-opengl-4.9.1-1.1.mga2
python-matevfs-1.4.0-1.mrc.mga2
python-qt4-declarative-4.9.1-1.1.mga2
gnome-python-gconf-2.28.1-4.mga2
python-dbus-0.84.0-1.mga2
python-dulwich-0.8.3-1.mga2
python-markupsafe-0.12-1.mga1
python-imaging-1.1.7-5.mga2
python-numpy-1.6.1-2.mga2
python-imgcreate-14.3-2.1.mga2
python-slip-0.2.20-1.mga2
python-gi-cairo-3.2.0-3.mga2
gnome-python-canvas-2.28.1-4.mga2
python-qt4-dbus-4.9.1-1.1.mga2
python-qt4-svg-4.9.1-1.1.mga2
python-papyon-0.5.6-2.mga2
python-sabayon-2.30.1-4.mga2
python-beaker-1.5.4-2.mga1
python-sip-4.13.2-1.mga2
python-pygoocanvas-0.14.1-3.mga1
python-qt4-gui-4.9.1-1.1.mga2
gnome-python-gtkhtml2-2.25.3-38.mga2
python-2.7.3-2.3.mga2
python-scons-2.1.0-1.mga2
python-matecanvas-1.4.0-1.mrc.mga2
python-mate-desktop-1.4.0-1.mrc.mga2
python-qt4-test-4.9.1-1.1.mga2
python-yaml-3.10-1.mga2
python-twisted-core-11.1.0-1.mga2
plasma-scriptengine-python-4.8.5-1.2.mga2
python-qt4-help-4.9.1-1.1.mga2
python-qt4-webkit-4.9.1-1.1.mga2
python-mate-applet-1.4.0-1.mrc.mga2
python-chm-0.8.4-5.mga1
python-simplejson-2.3.3-1.mga2
python-lxml-2.3.3-2.mga2
libcompizconfig-python-0.9.5.94-0.bzr168.4.mga2
python-enchant-1.6.5-1.mga1
python-mate-wnck-1.4.0-1.mrc.mga2
python-qt4-script-4.9.1-1.1.mga2
python-slip-dbus-0.2.20-1.mga2
python-pyxdg-0.19-3.mga1
python-gobject-2.28.6-6.mga2
python-qt4-xml-4.9.1-1.1.mga2
python-kickstart-1.77-1.mga2
python-lcms-1.19-6.mga2
python-pygame-1.9.1-6.mga2
python-gi-3.2.0-3.mga2
gnome-python-desktop-2.32.0-12.mga2
python-qt4-network-4.9.1-1.1.mga2
gstreamer0.10-python-0.10.22-1.mga2
python-mako-0.6.2-1.mga2
python-libproxy-0.4.7-6.1.mga2
python-cairo-1.10.0-1.mga2
python-matecomponent-1.4.0-1.mrc.mga2
python-mate-keyring-1.4.0-1.mrc.mga2
python-mateconf-1.4.0-1.mrc.mga2
libpython-devel-2.7.3-2.3.mga2
python-opengl-3.0.1-3.mga2
python-selinux-2.0.78-3.mga1
python-svn-1.7.4-3.1.mga2
python-qt4-core-4.9.1-1.1.mga2
python-pyxml-0.8.4-17.mga1
python-magic-5.11-2.mga2
gnome-python-2.28.1-4.mga2
python-qt4-4.9.1-1.1.mga2
gnome-python-gnomevfs-2.28.1-4.mga2
python-zope-interface-3.7.0-1.mga2
python-sexy-0.1.9-5.mga1
libboost_python1.48.0-1.48.0-9.1.mga2
python-corba-1.4.0-1.mrc.mga2
libxml2-python-2.7.8-14.20120229.4.mga2
python-mate-menus-1.4.0-1.mrc.mga2
python-pycrypto-2.3-2.1.mga2
python-farstream-0.1.1-5.mga2
python-ldap-2.4.8-1.mga2
python-beautifulsoup-3.2.1-1.mga2
python-urlgrabber-3.9.1-4.mga1
python-pygame-devel-1.9.1-6.mga2




Originally posted by Palewolf:
Doesn't work for me, when I try launching steam it fails with "Fatal Error: Failed to load steamui.so".

Maybe it's because i'm on a 64bit system, but i've tried replacing the i386.deb for amd64.deb and got the same result... not that it should matter as steam is a 32 bit app anyway.

Any insight on this?

EDIT:
Nevermind, it seems i was missing libpng12 (32bit)
Sorry, I don't use 64-bit Mageia.
Steam became work fine after installing libpng12 (32bit) ? (This information can be helpful for other mageia users)
Palewolf Dec 28, 2012 @ 4:08am 
Originally posted by xxblx:
Steam became work fine after installing libpng12 (32bit) ? (This information can be helpful for other mageia users)

Yes, works fine(ish) after installing libpng12, but i'm guessing different people will have to install different libs in order to make ir work. Bottom line, if you're seeing the "failed to load steamiu.so" error, you're probably at least one lib short to run Steam.

From the .deb, the depency list is as follows:
Depends: libcurl3-gnutls (>= 7.16.2-1), libgl1-mesa-dri, libgl1-mesa-glx, libjpeg-turbo8, libogg0 (>= 1.0rc3), libpixman-1-0 (>= 0.24.4-1), libsdl1.2debian (>= 1.2.10-1), libtheora0 (>= 1.0~beta1), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2), multiarch-support (>= 2.15-0ubuntu10.2), zenity (>= 3.4.0-0ubuntu4), libasound2 (>= 1.0.23), libc6 (>= 2.15), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgcrypt11 (>= 1.4.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.14.0), libgtk2.0-0 (>= 2.24.0), libnspr4 (>= 1.8.0.10), libnss3 (>= 3.12.3), libopenal1 (>= 1:1.13), libpango1.0-0 (>= 1.22.0), libpng12-0 (>= 1.2.13-4), libpulse0 (>= 1:0.99.1), libstdc++6 (>= 4.6), libx11-6 (>= 2:1.4.99.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.3), libxrender1, zlib1g (>= 1:1.2.3.3.dfsg)

For simplicity's sake, you can install all of those (as root, of course) at once with:
urpmi libcurl4 libgnutls28 libmesagl1 libdri-drivers libjpeg8 libogg0 libpixman1_0 libSDL1.2_0 libtheora0 lib64vorbis0 libvorbisenc2 libvorbisfile3 zenity libalsa2 libcairo-xcb2 libcups2 libdbus-1_3 libfontconfig1 libfreetype6 libgcc1 libgcrypt11 libgdk_pixbuf2.0_0 libglib2.0_0 libgtk+2.0_0 libnspr4 libnss3 libopenal1 libpango1.0_0 libpng12_0 libpulseaudio0 libstdc++6 libx11_6 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 lib64zlib1

Note: this will work on both 32 and 64 bits systems, but on 32 bits you will have to replace the last lib64zlib1 for libzlib1 or just remove it since it is a base system package anyway.

HOWEVER: not all games will work, since some will depend on glibc >= 2.15 and LD_LIBRARY_PATH will not be passed down to them from Steam. So far i have had no luck launching them manually either.
Oleg Dec 29, 2012 @ 3:43am 
Originally posted by Palewolf:
Originally posted by xxblx:
Steam became work fine after installing libpng12 (32bit) ? (This information can be helpful for other mageia users)

Yes, works fine(ish) after installing libpng12, but i'm guessing different people will have to install different libs in order to make ir work. Bottom line, if you're seeing the "failed to load steamiu.so" error, you're probably at least one lib short to run Steam.

From the .deb, the depency list is as follows:
Depends: libcurl3-gnutls (>= 7.16.2-1), libgl1-mesa-dri, libgl1-mesa-glx, libjpeg-turbo8, libogg0 (>= 1.0rc3), libpixman-1-0 (>= 0.24.4-1), libsdl1.2debian (>= 1.2.10-1), libtheora0 (>= 1.0~beta1), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2), multiarch-support (>= 2.15-0ubuntu10.2), zenity (>= 3.4.0-0ubuntu4), libasound2 (>= 1.0.23), libc6 (>= 2.15), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgcrypt11 (>= 1.4.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.14.0), libgtk2.0-0 (>= 2.24.0), libnspr4 (>= 1.8.0.10), libnss3 (>= 3.12.3), libopenal1 (>= 1:1.13), libpango1.0-0 (>= 1.22.0), libpng12-0 (>= 1.2.13-4), libpulse0 (>= 1:0.99.1), libstdc++6 (>= 4.6), libx11-6 (>= 2:1.4.99.1), libxext6, libxfixes3, libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.3), libxrender1, zlib1g (>= 1:1.2.3.3.dfsg)

For simplicity's sake, you can install all of those (as root, of course) at once with:
urpmi libcurl4 libgnutls28 libmesagl1 libdri-drivers libjpeg8 libogg0 libpixman1_0 libSDL1.2_0 libtheora0 lib64vorbis0 libvorbisenc2 libvorbisfile3 zenity libalsa2 libcairo-xcb2 libcups2 libdbus-1_3 libfontconfig1 libfreetype6 libgcc1 libgcrypt11 libgdk_pixbuf2.0_0 libglib2.0_0 libgtk+2.0_0 libnspr4 libnss3 libopenal1 libpango1.0_0 libpng12_0 libpulseaudio0 libstdc++6 libx11_6 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 lib64zlib1

Note: this will work on both 32 and 64 bits systems, but on 32 bits you will have to replace the last lib64zlib1 for libzlib1 or just remove it since it is a base system package anyway.

HOWEVER: not all games will work, since some will depend on glibc >= 2.15 and LD_LIBRARY_PATH will not be passed down to them from Steam. So far i have had no luck launching them manually either.
Thx for information. It will be helpful for other mageia 2 users.
Showing 1-10 of 10 comments
< >
Per page: 15 30 50