Skip to main content

Evidence Suggests Steam is Coming to Linux

When Valve announced that Steam was coming to Mac, Linux users from all over were wondering if this meant that they would be getting their own version too. After all, porting Steam and the Valve Source Engine games to OpenGL and WebKit meant that they're no longer tied to Windows.

Now Phoronix has taken a look at a beta version of Steam for Mac and found evidence that suggests Valve is working on a port for Linux as well.

Inside the launcher is a script that checks the platform for whether it is OS X or Linux, which would be nonsense unless Valve was really working on Linux.

#!/bin/bash# figure out the absolute path to the script being run a bit# non-obvious, the ${0%/*} pulls the path out of $0, cd's into the# specified directory, then uses $PWD to figure out where that# directory lives - and all this in a subshell, so we don't affect# $PWDSTEAMROOT=$(cd "${0%/*}" && echo $PWD)#determine platformUNAME=`uname`if [ "$UNAME" == "Darwin" ]; then PLATFORM=osx32 # prepend our lib path to LD_LIBRARY_PATH export DYLD_LIBRARY_PATH="${STEAMROOT}"/${PLATFORM}:$DYLD_LIBRARY_PATHelif [ "$UNAME" == "Linux" ]; then PLATFORM=linux32 # prepend our lib path to LD_LIBRARY_PATH export LD_LIBRARY_PATH="${STEAMROOT}"/${PLATFORM}:$LD_LIBRARY_PATHfiif [ -z $STEAMEXE ]; then STEAMEXE=steamfiulimit -n 2048# and launch steamcd "$STEAMROOT"STATUS=42while [ $STATUS -eq 42 ]; do ${DEBUGGER} "${STEAMROOT}"/${PLATFORM}/${STEAMEXE} $@ STATUS=$? # are we running osx? if [ $STATUS -eq 42 -a ${PLATFORM} == "osx32" -a -f Info.plist ]; then # are we running from in a bundle? exec open "${STEAMROOT}"/../.. fidoneexit $STATUS

Linux users, keep your fingers crossed!

Marcus Yam
Marcus Yam served as Tom's Hardware News Director during 2008-2014. He entered tech media in the late 90s and fondly remembers the days when an overclocked Celeron 300A and Voodoo2 SLI comprised a gaming rig with the ultimate street cred.