Steam under Linux: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
The following steps can be did more simply with PoL (http://www.playonlinux.com/en/).
The following steps can be did more simply with PoL (http://www.playonlinux.com/en/).


So, download the latest version of PoL ( http://www.playonlinux.com/script_files/PlayOnLinux/2.0.9/PlayOnLinux_2.0.9.deb ), install it, run it and click on "installer", select "jeu" or "game" and next, select steam, next, say yes for all next steps, and here it is, Steam Is installed ! Enjoy.
So, download the latest version of PoL ( http://www.playonlinux.com/script_files/PlayOnLinux/2.0.9/PlayOnLinux_2.0.9.deb ), install it. Then run it by typing: "playonlinux" in the console and click on "installer", select "jeu" or "game" and next, select steam, next, say yes for all next steps, and here it is, Steam Is installed ! Enjoy.


== Step 1: setting up Wine ==
== Step 1: setting up Wine ==

Revision as of 08:00, 9 May 2008

This should become a comprehensive guide to install and use Steam under a Linux environment.

Please note: Games run with these methods will be slower than running them on Windows because the games are not native executable files. To get the best performance we will need to wait for Valve to release a native Steam client (which is now rumoured to be happening).

Todo: Add a guide to get Steam running and additional information.

With Play On Linux (POL)

The following steps can be did more simply with PoL (http://www.playonlinux.com/en/).

So, download the latest version of PoL ( http://www.playonlinux.com/script_files/PlayOnLinux/2.0.9/PlayOnLinux_2.0.9.deb ), install it. Then run it by typing: "playonlinux" in the console and click on "installer", select "jeu" or "game" and next, select steam, next, say yes for all next steps, and here it is, Steam Is installed ! Enjoy.

Step 1: setting up Wine

First of all you have to set up a working Wine installation.

Installing Wine

TODO: Add install guides for other popular distributions. Am I doing this right?

Arch Linux

See from Arch Linux wiki pages.

Debian

See from Wine's Howto pages.
See from http://wiki.debian.org/HalfLife2

Fedora

See from Fedora wiki pages. Red Hat users must turn to their support provider.

Gentoo

Install Wine with emerge wine. In order to get the most recent Wine version you have to put app-emulation/wine ~{arch} into /etc/portage/package.keywords. Replace {arch} with the architecture of your Linux installation, e.g. x86 or amd64. (This step maybe has to be done for possible dependencies as well.)
For more information about installing wine on Gentoo see Gentoo wiki.

openSUSE / SUSE

See from openSUSE wiki pages.

Ubuntu

See from Ubuntu community documentation.

Other distributions / manual installation

There are packages for several other Linux distributions and a source tarball available on the official download page. You might also find a lot of good information from Wine's official wiki pages.

Installing required fonts

Steam uses the font Tahoma which is included in all Windows versions, but is not available on Linux. This will result in invisible text when running Steam without installing Tahoma first.
The easiest way to work around this issue is to put a copy of tahoma.ttf from a Windows installation (%WINDIR%\Fonts) to ~/.wine/drive_c/windows/fonts.

Troubleshooting

If you are having problems you might want to take a look Wine's official wiki pages. If this doesn't help try find what kind of live support method does your distribution provides. You might find the solution for your problems from the distributions official forum, IRC channel or mailing list very efficiently. Try looking the distributions home page for more information.

Step 2: installing steam

Download the installer, open a terminal and change to the download directory. Run wine SteamInstall.exe and follow the instructions. After that Steam is installed in Wine's "virtual" Windows drive, usually ~/.wine/drive_c/Programs/Valve/Steam.

Note.pngNote:With newer versions of Wine you have to copy tahoma.ttf to ~/.wine/drive_c/windows/fonts/
Note.pngNote:The login window doesn't have keyboard focus when starting up. You have to right-click into the login field first.

Wine-Doors

Wine-doors is a easy-to-use tool to install several Windows-applications under Linux using wine. It also supports to install Steam with only two clicks. It's available as Debian/Ubuntu package or Tarball.

Steam:// protocol links

A fix for using steam:// style protocol links with Firefox can be found here: [1]. The author says it will work under Ubuntu, but it may work under other flavors of Linux.

Known issues

Minimizing steam

Minimizing Steam causes the X server to ignore your mouse / keyboard input. Don't minimize Steam to work around this issue, instead close the window and open it with the Wine Systray. If you accidentally minimize Steam you either have to restart the X server / computer or you can log-in from another computer (e.g. SSH) and kill steam.exe processes.

Wine, Steam & ntfs-3g

ntfs-3g is a powerful user-mode driver for Linux which is capable of almost all file operations on NTFS partitions. Sadly, ntfs-3g and/or Wine are currently unable to work with a NTFS-based installation of Steam. Steam will crash with the following error:
Steam.exe (main exception): Cannot open blob archive file: CMultiFieldBlob(mem-mapped file): Failed to MapViewOfFile
Creating a Symlink to SteamApps on a NTFS partition doesn't work either. Steam will start up, but your GCFs will get corrupted or - if you're lucky - Steam only assumes they are corrupted. So you won't get around having duplicate GCFs for Linux and Windows if you plan on using Steam with both operating systems and having NTFS partitions for Windows.
  • Update: It seems linking gcfs instead of the folder works*

External links