Tuesday, May 12, 2015

HowTo: Install Steam on CentOS7

Steam for Linux is a reality for the past few years allowing access to an ever growing list of games including popular titles such as Team Fortress 2, Half-Life and Counter Strike.

If in the past getting it installed on CentOS6 meant jumping through hoops with the latest major version of CentOS those issues have been overcome thanks to updated system libraries and the availability of repositories such as Nux Dextop that package Steam into a nice and friendly rpm.

Basically to have Steam working on CentOS7 you'll need to execute a few steps:
1) Enable Nux Dextop and EPEL repositories
2) Install Steam
3) Launch it
4) Have fun

In other words:

  1. $ su
  2. # rpm -Uvh http://ftp.up.pt/fedora-epel/7/x86_64/e/epel-release-7-5.noarch.rpm && rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
  3. # yum install steam libgudev1.i686

As for step 4, I suggest installing Team Fortress 2 :)

Now launch Steam, go through the graphical install and provide your account credentials to login.

As an off-topic side note, consider having a YUM plugin to manage repositories so that base CentOS packages aren't replaced by those from third-party repositories, personally I use protectbase.

3 comments:

Anonymous said...

Hey!

Nice intro! I ran into the nux-desktop repo for installing steam from dedoimedo.com's page, but I ran into a nasty seg fault. I was hoping that libgudev1.i686 would solve my problem, but alas, it didn't. Do you have any idea of what my problem could be?

Running Steam on centos 7 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
/home//.local/share/Steam/steam.sh: line 730: 10655 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
mv: cannot stat ‘/home//.steam/registry.vdf’: No such file or directory
Installing bootstrap /home/local/share/Steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request...
Running Steam on centos 7 64-bit
STEAM_RUNTIME has been set by the user to: /home//.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(0_client)
/home//.local/share/Steam/steam.sh: line 730: 10747 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

Thanks!

tangram said...

Hi,

Unfortunately I don't have a clue. Have a look at SteamCommunity discussions, maybe you'll find some help there.

Take care.

Shhh said...

Hi, thanks for the post.

I had the same problem as faced by Anonymous after installing steam as per dedoimedo.com page.
After reading your blog here, I just removed steam and re-installed it with libgudev1.i686. And it works!!