How to Install Counter-Strike Source on Fedora

Now I know there are plenty of other CSS fans out there who would just love to see CSS running on their happy little penguins, my motives were slightly more sinister, I wanted to see it running on dual-monitors, motives aside, here's how to get CSS installed on Fedora.

CSS on Fedora 8 using dual-monitor

Preamble

There are numerous tutorials out there stating how to install CSS on Linux, attempting to follow these proved futile for me as no matter what I tried, the CSS installer just wouldn't load under Wine. This process skips using the CSS installer and instead, installs CSS via Steam (with a little cheat to avoid downloading).

First, my kernel and Wine version:

Now that's out of the way, onto the installation.

Requirements

You will need:

* If you can get CSS installed normally, sweet, if not, this will stop you needing to download via Steam.

Installing Steam

The first and possibly the easiest part is to get Steam installed.

Head on over to www.steampowered.com and download Steam. Steam installation is nice and simple, just type:

wine msiexec /i /path/to/SteamInstall.msi

Follow the onscreen instructions, and with any luck, you should now have a dirty great big Steam icon on your desktop.

Installing Counter-Strike Source

To save yourself the mission that I'm about to suggest, first try installing CSS in the same way that you just installed Steam, mount your DVD and run the command:

wine msiexec /i /path/to/css.msi

If that works, I hate you, congratulations, you can skip the rest of this tutorial. If it doesn't... I won't laugh, instead, I feel your pain, lets proceed.

Bodging the CSS Install

Since we can't install CSS normally, we're going to start it installing from Steam, and then bring over our Windows install (you're not a hardcore CSS'er if you don't have it setup in Windows).

If you do fall under the category of non-hardcore-CSS'er fear not, take a DVD-R to a friends and burn their's, or alternatively, spend the next 3 days downloading it.

All you need to do is:

Steam will start downloading CSS, once it does, close and wait for it to completely exit.

Transferring CSS from Windows

All that's left to do is browse to your Windows install of CSS.

The directory you want to copy is C:\Program Files\Steam, and paste it on top of where you have just installed CSS to.

cp /mnt/windows/c/Program\ Files/Steam /opt/wine/c/Program\ Files/ -f

The '-f' parameter tells the copy program to overwrite any existing files.

Once this is done, you should now be able to re-load Steam, and CSS should show as installed.

Satisfaction

And here it is, Counter-Strike Source showing my glorified death by bot in a nice and revealing 2048x768 resolution, spread across 2 TFT's:

CSS on Fedora 8 using dual-monitor
My death is obvioulsy caused by the extremely low FPS ;)

Enjoy