How to install Steam on CentOS 7
CentOS 7 is out and it will likely prove to be a great alternative for Fedora. CentOS 6 was also a good choice, but it lacked many features of a modern desktop since its core was based on Fedora 12-13. The latest CentOS 7 derives from RHEL 7 which is primarily based on Fedora 19 “with several changes from 20 and later” and that gives it a great advantage over its predecessor.
I wanted to test the Steam native client as I never managed to install it properly on CentOS 6. It was one of the few reasons I still use Fedora on my PC (I’m not much into running the “latest and greatest” apps and features), but I am happy to say the new CentOS works flawlessly so I am seriously considering the switch.
My test was done on a machine which was recently installed with CentOS 7 using the GNOME desktop installation option. To install the Steam client I used the Fedora 19 official repository for Steam which is binary compatible with CentOS 7.
Here’s the detailed steps:
Install EPEL repo
- this is not mandatory but could prove beneficial for other package installations
yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
Install RPMForge repo
- same as EPEL
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Configure the official Steam repo
- output is for 64bit, for 32bit replace x86_64 in baseurl with i386 (you can browse all other repos here)
cat /etc/yum.repos.d/steam_fedora19.repo [steam_fedora19] name=Steam RPM packages (and dependencies) for Fedora baseurl=http://negativo17.org/repos/steam/fedora-19/x86_64/ enabled=0 skip_if_unavailable=1 gpgcheck=0
Install a dependency
- This is the only dependency not yet available via the standard or compatible repositories. Note that Steam on Linux is only 32-bit at the moment so install this even if you’re running a 64-bit OS
yum install http://download1.rpmfusion.org/free/fedora/releases/19/Everything/i386/os/libtxc_dxtn-1.0.0-3.fc19.i686.rpm
Install Steam
yum --enablerepo=steam_fedora19 install steam
Done, the Steam client installs successfully! To launch it either use the start entry in Applications -> Games or run it in the terminal with steam. Enjoy!
more on Steam under Linux
FYI, I managed to install steam just using EPEL and libtxc.
I think EPEL and RPMFusion probably have package conflicts so using them both at the same time mightn’t be the best idea, IMO.
@John Lewis: I don’t see Steam in the EPEL repo for EL7, how did you install it? Also, EPEL and RPMfusion are compatible, in fact EPEL is a requirement for the latter (see Important Notes at the bottom).
Here is how you can install EPEL on different CentOS distros (5,6,7..) with updated links: https://wiki.zetservers.com/enable-epel-repository-in-rhelcentos-765/
“I wanted to test the Steam native client as I never managed to install it properly on CentOS 6.”
There is the repository for Steam on EL6:
- https://soyuz.asia/repos/el/6/scx-el6-steam/
See also the installation guide:
- http://scientificlinuxforum.org/index.php?showtopic=2287&view=findpost&p=18090
Maybe these packages will be included in negativo17’s repo or RPM Fusion Nonfree Updates for EL6 in the future:
- http://negativo17.org/steam-and-handbrake-repository-update/#comment-7919
- https://bugzilla.rpmfusion.org/show_bug.cgi?id=2979
Readme and known issues:
- https://soyuz.asia/repos/el/6/scx-el6-steam/README.EL6
- https://soyuz.asia/repos/el/6/scx-el6-steam/README.Fedora
Steam has made its way to the nux desktop repo so you can install it from there.
Aarrrrrrrgh, steam can’t be installed on CentOS 7.
At least i can’t.
WHY?
I am gonna crazy!
There is no repo named steam_fedora19.repo
And I tried various of ways, each of them lacked of LOTS OF SOs!
libSDL.so.1, blahblahblah.so.2….
How can I? How can I??
PLEASE HELP ME! THAAAAANKS!
@heo: you have to create the Steam repository yourself by adding a new file /etc/yum.repos.d/steam_fedora19.repo with these contents:
I created this file with nano and confirmed that I made it in the proper place, however whenever I run “yum -enablerepo=steam_fedora19 install steam” I receive errno 14, an error 404 that says “http://negativo17.org/repos/steam/fedora-19/x86_64/repodata/repomd.xml” is missing. Any idea why it’s not able to load in the repository properly?
-Thanks
@Daniel: I see the link is no longer active. As others have said, use the Nux repo instead.
@heo
You can install the steam package from Nux Dextop repository:
http://li.nux.ro/repos.html