Steam under Linux: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (typo & tidy)
Line 3: Line 3:
'''TODO:''' Add a guide to get Steam running and additional information
'''TODO:''' Add a guide to get Steam running and additional information


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


First of all you have to set up a working Wine installation.
First of all you have to set up a working Wine installation.
===Installing Wine===
=== Installing Wine ===
'''TODO:''' Add install guides for other popular distributions. 'm I doing this right?
'''TODO:''' Add install guides for other popular distributions. Am I doing this right?


====Arch Linux====
==== Arch Linux ====
:See from [http://wiki.archlinux.org/index.php/Wine#Installation Arch Linux Wiki pages].
:See from [http://wiki.archlinux.org/index.php/Wine#Installation Arch Linux wiki pages].


====Debian====
==== Debian ====
:See from [http://www.winehq.org/site/download-deb Wine's Howto pages].
:See from [http://www.winehq.org/site/download-deb Wine's Howto pages].


====Fedora====
==== Fedora ====
:See from [http://fedoraproject.org/wiki/AndreasBierfert/Wine Fedora Wiki pages]. Red Hat users must turn to their support provider.
:See from [http://fedoraproject.org/wiki/AndreasBierfert/Wine Fedora wiki pages]. Red Hat users must turn to their support provider.


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


====openSUSE / SUSE====
==== openSUSE / SUSE ====
:See from [http://en.opensuse.org/Wine openSUSE Wiki pages].
:See from [http://en.opensuse.org/Wine openSUSE wiki pages].


====Ubuntu====
==== Ubuntu ====
:See from [https://help.ubuntu.com/community/Wine#head-fcdabfb34a519fd7d3c13329e1920429c1a3f202 Ubuntu community documentation].
:See from [https://help.ubuntu.com/community/Wine#head-fcdabfb34a519fd7d3c13329e1920429c1a3f202 Ubuntu community documentation].


====Other distributions / manual installation====
==== Other distributions / manual installation ====
:There are packages for several other linux distributions and a source tarball available on the [http://www.winehq.org/site/download official download page]. You might also find a lot of good information from [http://wiki.jswindle.com/index.php/Installing_Wine Wine's official wiki pages].
:There are packages for several other Linux distributions and a source tarball available on the [http://www.winehq.org/site/download official download page]. You might also find a lot of good information from [http://wiki.jswindle.com/index.php/Installing_Wine Wine's official wiki pages].


===Installing required fonts===
=== 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.
: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 <code>tahoma.ttf</code> from a Windows installation (<code>%WINDIR%\Fonts</code>) to <code>~/.wine/drive_c/windows/fonts</code>.
:The easiest way to work around this issue is to put a copy of <code>tahoma.ttf</code> from a Windows installation (<code>%WINDIR%\Fonts</code>) to <code>~/.wine/drive_c/windows/fonts</code>.


===Troubleshooting===
=== Troubleshooting ===
:If you are having problems you might want to take a look [http://wiki.jswindle.com/index.php/Installing_Wine 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.
:If you are having problems you might want to take a look [http://wiki.jswindle.com/index.php/Installing_Wine 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==
== Step 2: installing steam ==
Download the [http://www.steampowered.com/download/SteamInstall.exe installer], open a terminal and change to the download directory. Run <code>wine SteamInstall.exe</code> and follow the instructions. After that Steam is installed in Wine's "virtual" Windows drive, usually <code>~/.wine/drive_c/Programs/Valve/Steam</code>.
Download the [http://www.steampowered.com/download/SteamInstall.exe installer], open a terminal and change to the download directory. Run <code>wine SteamInstall.exe</code> and follow the instructions. After that Steam is installed in Wine's "virtual" Windows drive, usually <code>~/.wine/drive_c/Programs/Valve/Steam</code>.


Line 45: Line 45:
{{note|The login window doesn't have keyboard focus when starting up. You have to right-click into the login field first.}}
{{note|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 ==


[http://www.wine-doors.org 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 [http://www.wine-doors.org/wordpress/?page_id=3 available] as Debian/Ubuntu package or Tarball.
[http://www.wine-doors.org 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 [http://www.wine-doors.org/wordpress/?page_id=3 available] as Debian/Ubuntu package or Tarball.


==Known Issues==
== Known issues ==


===Minimizing Steam===
=== 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 accidently 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.
: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''===
=== Wine, Steam & ''ntfs-3g'' ===
:''ntfs-3g'' is a powerful user-mode driver for Linux which is capable of almost all file operations on [[Wikipedia:NTFS|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:
:''ntfs-3g'' is a powerful user-mode driver for Linux which is capable of almost all file operations on [[Wikipedia:NTFS|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:
<pre>Steam.exe (main exception): Cannot open blob archive file: CMultiFieldBlob(mem-mapped file): Failed to MapViewOfFile</pre>
<pre>Steam.exe (main exception): Cannot open blob archive file: CMultiFieldBlob(mem-mapped file): Failed to MapViewOfFile</pre>
Line 60: Line 60:
:*Update: It seems linking gcfs instead of the folder works*
:*Update: It seems linking gcfs instead of the folder works*


==See also==
== See also ==
*[http://www.winehq.com Wine HQ] (official Wine homepage)
*[http://www.winehq.com Wine HQ] (official Wine homepage)
*[http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Steam linuX-gamers.net guide]
*[http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Steam linuX-gamers.net guide]

Revision as of 12:16, 7 February 2008

This should become a comprehensive guide to install and use Steam under a Linux environment. At least it should prove usable as one as long as Valve doesn't release a real Linux Steam client.

TODO: Add a guide to get Steam running and additional information

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.

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.

      • 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.

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*

See also