Installing Valve’s STEAM and Counterstrike on Ubuntu

This is only my experience downloading and installing Steam and Valve games like Counterstrike 1.6 and TFC on Linux. Your experience may vary.

Here’s what you’ll need:

  • A purchased copy of Half Life Platinum (if you’re into the old versions of Counter Strike and Team Fortress Classic – still going strong with thousands of gamers on 24/7) and/or a purchased copy of Half Life 2. You won’t have to use the DVD/CDs in this tutorial (in fact I’ve never gotten them to work), you’ll just need the product key. Steam includes a lovely little downloader for Valve games 
  • Wine:
    • sudo apt-get install wine
  • Once Wine is installed, extract the fonts from this archive to the ~/.wine/drive_c/windows/fonts/ directory. If you don’t, you’ll notice Steam and its games don’t have any text!
  • Download and run the SteamInstall.exe file (NOT the .msi that’s on their download page). From a terminal:
    • cd ~/Desktop
    • wget http://steampowered.com/download/SteamInstall.exe
    • wine SteamInstall.exe -dxlevel 90 -novid

This will guide you through a small install process. Once completed, edit the shortcut (or create one if one wasn’t automatically created for you):

Right-click on Applications menu -> Edit Menus -> Wine -> Programs -> Steam -> Steam, right-click “Steam” and change the properties “command” to:

wine “C:/Program Files/Steam/steam.exe” -dxlevel 90 -novid -width 1024 -height 768 -heapsize 512000

There you go! If you have a steam account by purchasing a copy of Half Life, you can log in and use the interface to download whichever games you’ve purchased.

17 Comments

  • [...] Wine stands for "Wine is Not an Emulator." What is it? Wine is an application that attempts to mimic Windows and let you run Windows programs in Linux, seamlessly. I’ve used it for a few things, even some good complex games like CounterStrike 1.6, Team Fortress Classic, Half Life 2, and Counterstrike: Source. [...]

  • Aaron Burger says:

    Very specific and helpful article. I’ve only been using Ubuntu for a week now and I got steam running in 5 minuets. Most of that time was spent trying to figure out how to move the fonts into the wine folder. All I had to do was click on view, show hidden files to get to the .wine directory.

  • Martin says:

    Remember to change the “” in the shortcut!!!

  • [...] I’ve managed to get Css working fine in Kubuntu. works great. heres a link that might help. Installing Valve’s STEAM and Counterstrike on Ubuntu | °ThePemberton.com° [...]

  • eddie says:

    can find the exe, do you have an alternative link available??

  • Jon Gibbins says:

    Steam loads a treat. I have a dual screen setup on my Bunty 8.04 setup and the CSS install gets confused with the dusl screen total size, and standard CS will only run in a window. HOWEVER, such amazing progress since the last time I tried the Steam games on Linux.
    Give it another year, I can see all games running nicely. :)

  • Brad says:

    I have been trying for nearly 30 minutes to get this working, but Steam just keeps hanging up on the Update splash…it’s not showing a progress bar either.

  • Dan says:

    I wasn’t able to extract the fonts from the archive into my fonts folder. Ubuntu told me archive type not supported.

    Ive been able to launch Counter-Strike: Source, but then the game just closes down after I see the Menu background image. Any ideas why?

  • Tyler says:

    Default Re: Missing option from merge? Wine fullscreen woes :(
    Quote:
    Originally Posted by chuckyp
    I’m assuming the plugin will hit git stream soon?
    In the meantime, (in Cedega) you can untick the “Managed” option, and with most games this will work and fix this problem.

    In wine, find where you can switch the window management style and choose for wine to manage it..

    HTH
    -r

    This was a helpful solution for me. When the window is small as it is for me running compviz and dual monitors. The problem I had was cs was opening in a 800 x 600 window, and there was no option to change it in steam.

    The solution is to go to wine and let it manage it’s self… I also messed with the default wine window size so it would take up the whole screen (one face of my right cube.

    Here is the forum url where I found my answer.

    http://forum.compiz-fusion.org/showthread.php?t=2507

  • Tyler says:

    OH yea, I also had a problem with this site’s font archive… I found my solution by typing this into a terminal… It is ment to be run in a script, but I did it manually for fun i guess.

    # Gets the required font Tahoma.ttf and places it in the correct directory
    wget http://mcinroy.org/steam/tahoma.ttf
    cp tahoma.ttf ~/Desktop/
    cp tahoma.ttf ~/.wine/drive_c/windows/fonts/

    Here is that site as well

    http://mcinroy.org/2007/08/22/install-steam-in-ubuntu-using-wine-bash-script/

  • Tyler says:

    I hate to do this again, but I am compelled to… The wget for the SteamInstall.exe didn’t work for me either. I searched “SteamInstall.exe” in google and found a different copy. This is the one I used, and for sheer convince I have linked it here.

    I swear this is the last thing I need to say. I think.
    …. other than The Dark Knight really was a good movie… I just watched it like hours ago. Sold out 12:01 show. It was pretty sweet.

    SteamInstall.exe is here.
    http://www.ausgamers.com/files/details/html/10694

  • n3m3sis says:

    If CS wont update then remove the file, ClientReg.blob ind cstrike folder.

    Then you force it too update :)

  • Huge BLACK C says:

    HEY WTF i do if i already unziped the fonts.
    I put in console what you say and it says:

    rafael@turonk-desktop:~$ wget http://steampowered.com/download/SteamInstall.exe
    –17:19:35– http://steampowered.com/download/SteamInstall.exe
    => `SteamInstall.exe’
    Resolviendo steampowered.com… 63.228.223.107, 63.228.223.100
    Conectando a steampowered.com|63.228.223.107|:80… conectado.
    Petición HTTP enviada, esperando respuesta… 404 Not Found
    17:19:35 ERROR 404: Not Found.
    PLZ HELP

  • alan says:

    # Brad Says:
    June 18th, 2008 at 4:11 am

    I have been trying for nearly 30 minutes to get this working, but Steam just keeps hanging up on the Update splash…it’s not showing a progress bar either.

    ##
    I realise this is a bit late, but if you follow the instructions on wine’s page for installing steam, it seems to clear thsis up.

    using wine to run internet explorer and then installing gecko (it prompts you to do this) and THEN installing steam from the MSI installer worked for me.

    but i really hope you haven’t been waiting all this time for me to say that ;)

  • senbonzakura says:

    reason why wget http://steampowered.com/download/SteamInstall.exe isnt working cause its wrong file type, must be .msi
    => change to wget http://steampowered.com/download/SteamInstall.msi in terminal or jst go to steampowered website and download it manually :P

  • Samrat says:

    Hmmm ne1 knows how to instal counter strike version 2 on ubuntu?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>