Steam for Linux > Limited Beta > Topic Details
V1TSK Dec 8, 2012 @ 9:47pm
Building Steam package for RPM based distributions
Step 1
Download original package for Ubuntu:

Step 2
Unpack Ubuntu package by using ar tool:
cd ~
ar vx steam.deb
You will get three files: debian-binary, control.tar.gz and data.tar.gz. We need only data.tar.gz. All others can be deleted.

Step 3
Install RPMBuild. On Fedora/CentOS/RHEL:
sudo yum -y install rpm-build
On openSUSE:
sudo zypper install rpmbuild

Step 4
Rename and copy data.tar.gz to rpmbuild working directory:
cd ~
mkdir -p ~/rpmbuild/SOURCES/
cp -f data.tar.gz ~/rpmbuild/SOURCES/steam.tar.gz

Step 5
Download spec file for rpmbuild:

Step 6
Run rpmbuild:
cd ~
rpmbuild -ba steam.spec
You will get Steam RPM Package for GNU/Linux in ~/rpmbuild/RPMS/noarch/.

Step 7
Install package. On Fedora/CentOS/RHEL:
sudo yum -y localinstall ~/rpmbuild/RPMS/noarch/steam*
On openSUSE:
sudo zypper install ~/rpmbuild/RPMS/noarch/steam*.rpm

Full version of this manual and spec can be found in GitHub repository: https://github.com/xvitaly/steamrpm.

P.S. Bugs detected in Steam code tag if it contains URLs.
Last edited by V1TSK; Dec 8, 2012 @ 10:01pm
Showing 1-15 of 17 comments
< >
[Inarticulate Yelling] Dec 8, 2012 @ 11:13pm 
Looks great! Can't wait to give it a try on Fedora.
Vindihaaret Dec 8, 2012 @ 11:31pm 
Are the result different if you use ex. alien ?
SUSEd Dec 8, 2012 @ 11:38pm 
Need to add steam to OBS.
SUSEd Dec 8, 2012 @ 11:38pm 
Originally posted by Vindihaaret:
Are the result different if you use ex. alien ?

Alien is dirty hack. This way is true.
zenitur Dec 9, 2012 @ 1:49am 
This is a good hack! But owners of source code should make RPM package in any old Linux distribution. I think, RHEL/CentOS is the best choice: GCC 4.1, GLIBC 2.5, full support of LSB standard. Steam will run in all Linux distribution made in 2005 and later. Today steamui.so library need GCC 4.5 and libcef.so need GCC 4.6.
Last edited by zenitur; Dec 9, 2012 @ 1:50am
V1TSK Dec 9, 2012 @ 4:41am 
Originally posted by zenitur:
This is a good hack! But owners of source code should make RPM package in any old Linux distribution.
And build native x86_64 version.
mikeym Dec 9, 2012 @ 5:22am 
Guess it's worth mentioning that for Fedora there's Tom 'spot' Callaway's repository for Steam:

http://steamcommunity.com/app/221410/discussions/0/882966056706397589/#c846939071110610096
V1TSK Dec 9, 2012 @ 5:58am 
Originally posted by mikeym:
Guess it's worth mentioning that for Fedora there's Tom 'spot' Callaway's repository for Steam
Third party repository with binary packages? No way!
mikeym Dec 9, 2012 @ 6:02am 
Originally posted by V1TSK:
Third party repository with binary packages? No way!

I guess that's a pretty sensible attitude. For anyone who's interested though: http://fedoraproject.org/wiki/User:Spot

I'll still be using it.
dietyyli Dec 9, 2012 @ 7:41am 
My steam-0.1-1.noarch.rpm is 1.9K, does not sound right...
V1TSK Dec 9, 2012 @ 12:34pm 
Originally posted by dietyyli:
My steam-0.1-1.noarch.rpm is 1.9K, does not sound right...
Works perfectly. Tested on new VM:
[vitaly@local ~]$ ls -l ~/rpmbuild/RPMS/noarch/
total 1452
-rw-rw-r-- 1 vitaly vitaly 1483211 Dec. 10 02:32 steam-0.1-1.noarch.rpm

steam-0.1-1.noarch.rpm - 1.4 MB.

Check your rpmbuild log or post it on pastebin.
Last edited by V1TSK; Dec 9, 2012 @ 12:37pm
dietyyli Dec 10, 2012 @ 11:51am 
It did make ~/rpmbuild/SRPMS/steam-0.1-1.src.rpm
source rpm which is 1.4 MB

Anyway I already installed from Spot's repo and it's working fine...
SUSEd Jan 11, 2013 @ 10:01am 
Latest version (1.0.0.20 or something) after launching asks to install some ubuntu packages:
Package jockey-common needs to be installed
Package python-apt needs to be installed
Package zenity needs to be installed
Package xterm needs to be installed
Package multiarch-support needs to be installed
Package libcurl3-gnutls:i386 needs to be installed
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1-mesa-glx:i386 needs to be installed
Package libjpeg-turbo8:i386 needs to be installed
Package libogg0:i386 needs to be installed
Package libpixman-1-0:i386 needs to be installed
Package libtheora0:i386 needs to be installed
Package libudev0:i386 needs to be installed
Package libvorbis0a:i386 needs to be installed
Package libvorbisenc2:i386 needs to be installed
Package libvorbisfile3:i386 needs to be installed
Package libasound2:i386 needs to be installed
Package libc6:i386 needs to be installed
Package libcairo2:i386 needs to be installed
Package libcups2:i386 needs to be installed
Package libdbus-1-3:i386 needs to be installed
Package libfontconfig1:i386 needs to be installed
Package libfreetype6:i386 needs to be installed
Package libgcc1:i386 needs to be installed
Package libgcrypt11:i386 needs to be installed
Package libgdk-pixbuf2.0-0:i386 needs to be installed
Package libglib2.0-0:i386 needs to be installed
Package libgtk2.0-0:i386 needs to be installed
Package libnspr4:i386 needs to be installed
Package libnss3:i386 needs to be installed
Package libopenal1:i386 needs to be installed
Package libpango1.0-0:i386 needs to be installed
Package libpng12-0:i386 needs to be installed
Package libpulse0:i386 needs to be installed
Package libstdc++6:i386 needs to be installed
Package libx11-6:i386 needs to be installed
Package libxext6:i386 needs to be installed
Package libxfixes3:i386 needs to be installed
Package libxi6:i386 needs to be installed
Package libxinerama1:i386 needs to be installed
Package libxrandr2:i386 needs to be installed
Package libxrender1:i386 needs to be installed
Package zlib1g:i386 needs to be installed
Package libsdl1.2debian:i386 needs to be installed
How to fix it?
V1TSK Jan 11, 2013 @ 10:24am 
Originally posted by shished:
Latest version (1.0.0.20 or something) after launching asks to install some ubuntu packages:
How to fix it?
You must install x86-32 dependencies on x86_64.
V1TSK Jan 22, 2013 @ 6:04am 
+ Added script genrpm.sh for automatic RPM package build.
* Updated to version 1.0.22.
* Fixed issues on openSUSE.
Last edited by V1TSK; Jan 22, 2013 @ 6:05am
Showing 1-15 of 17 comments
< >
Per page: 15 30 50