Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

How do I install Half-Life 1 and 2 on Ubuntu 12.04 if I already have the game on a Windows installer CD and on Steam. I tried it with Steam, but the game didn't launch. I also tried it on wine with the Windows installer, but it didn't work either.

share|improve this question

marked as duplicate by Luis Jul 8 '13 at 1:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
They're both supported by playonlinunx playonlinux.com/repository/?cat=1&type=0 –  hbdgaf May 1 '12 at 21:51

4 Answers 4

up vote 6 down vote accepted

If you came here to play HL, HL2 or any other Steam for Linux released game see How can I install Steam? for the answer which is a lot simpler than this. This one only apply to games outside the Steam environment or not yet on steam. Also know that Half-Life is natively supported in Ubuntu. Most likely HL2 will follow.

To play both, HL and HL2 (Not through steam) you first need the Wine PPA (It is much better than the actual version that comes with Ubuntu). So first install the Wine PPA (Does not matter if you already have PlayOnLinux installed). PlayOnLinux can work without the need of having Wine installed since it will eventually download its own version of Wine if it detects you do not have one (Including addons which are similar in use as winetricks). It also downloads specific Wine versions even if you have Wine install for some specific cases (Some games in PoL depend on specific Wine versions).

If you use Wine PPA or PlaOnLinux the game should work with no problem.

  1. Follow this guide to install the latest Wine: http://www.winehq.org/download/ubuntu

  2. After that go to Software Center and look for Wine with version 1.5.x. Right now it is 1.5.23. Install it. You can also install it via the terminal with sudo apt-get install wine.

  3. Download PlayOnLinux from their website and install it.

  4. Execute PlayOnLinux at least once so it can download the needed Fonts and configures itself for use.

  5. If you try to run the games with Wine, first try to download, any needed libraries and additional packages the game needs. This can be done with winetricks. You can run winetricks from the Dash or from the terminal like winetricks --gui. For HL, HL2 and many other games I have tested, including but not limited to: Trine, Trine2, Portal, Portal2 and many others I recommend the following Winetricks installation:

    Open Winetricks and select Select the default wineprefix

    enter image description here

    Select **Install a windows DLL or component

    enter image description here

    Install all that I have marked (and any additional you need for a specific app). This should cover many apps and games. I have not had any additional problems after installing this with many games:

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    The Physx component, even if you do not have Nvidia, you still need to install it for games that require it.

    Now simply right click the installer for HL1 or HL2 and select Open with Wine. Tested again with both games. Working perfectly (Not the Steam version, only the older CD/DVD versions).

  6. If you try to run the game through PlayOnLinux, the app will guide you step by step on how to install the game and will take care of many aspects of it's installation including needed DLL and other components to make it work right.

share|improve this answer
    
Can PlayOnLinux be installed without WINE? –  Anwar Shah Feb 13 '13 at 4:39
    
@Anwar yes but PoL will eventually download its version of Wine if it detects you do not have one (Including addons which are similar to using winetricks). It also downloads specific Wine versions even if you have Wine install for some specific cases (Some games in PoL depend on specific Wine versions). –  Luis Feb 13 '13 at 5:15
    
@Aditya actually, the answer provided in that link covers everything about steam (Even the additional components recommended by steam). I can only cover here how to install everything to use HL and HL2 without steam support. –  Luis Feb 15 '13 at 2:03

Half-life 1 is now released for native Linux. It is available from Steam (http://steampowered.com)

share|improve this answer

Check out this page for install instructions.

Currently there is no Steam or Source Engine for Linux, but recently there have been (more substantial than previous) rumors of a Steam Client for Linux, as well as a Source Engine port.

share|improve this answer

Install playonlinux. It is a wrapper around wine with some extra patches. It is free.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.