On this page we will explain how to install Counter-Strike and Counter-Strike: Source. We assume you have some Linux knowledge. We will start with Counter-Strike: Source.
Installing Counter-Strike: Source (SRCDS)
First, lets create a directory where we will run the hldsupdatetool, run the following command:
Now we switch to the srcdswe just created and download the hldsupdatetool.bin
cd srcds wget http://www.cstrike-planet.com/dls/hldsupdatetool.bin
If all goes well you should now have the hldsupdatetool.bin in the srcds directory. Now we change the permission of hldsupdatetool.bin so we can execute it and extract the contents from hldsupdatetool.bin
chmod +x hldsupdatetool.bin ./hldsupdatetool.bin
|Note: after you run ./hldsupdatetool.bin you will get a prompt to agree with the terms and conditions, simply type yes and hit enter.|
If all goes well, you should now have two files in the srcds directory, the hldsupdatetool.bin which we downloaded earlier, and a steam file the hldsupdatetool generated, this is the file we will use to install Counter-Strike: Source.
|Note: if you receive a ‘uncompress: command not found’ message it means your server does not have uncompress installed. You have two options to easily work around this, try the following while logged-in as root:
ln -s /bin/gunzip /bin/uncompress
Then try to run ./hldsupdatetool.bin again. If that does not work, or you do not have root privileges you can download the binary file we have available:
Now that you have the steam binary file, Type the following command to begin installing CS Source