View Full Version : [all variants] How to instale games from tar.gz

January 6th, 2009, 08:27 AM
so i try to install Railroad Tycoon II on my UBUNTU 8.10, but i dont know how to do that. The README file says:

Mount the Railroad Tycoon II CD and change the current directory
to where it is mounted. Type 'sh setup.sh' to run the install script.

e.g. Log in as root:
mount /mnt/cdrom
cd /mnt/cdrom
sh setup.sh
could some one explain please what do i do whit it... first how do i mount it (ARCHIVE Mounter I guess). and what does
change the current directory
to where it is mounted mean ????? :confused:
where do i tipe 'sh setup.sh'???
and im fully blind also about mount
cd /mnt/cdrom
sh setup.sh
could some on help me please??? [-o<

Tim Sharitt
January 6th, 2009, 06:09 PM
Ubuntu probably mounted the CD when it was put in (unless you have disabled auto mount), so I am going to skip the mounting step.
Open a terminal by going to the Applications menu > Accessories > Terminal. Once it is open enter:

cd /media/cdrom
sh setup.sh
If any of those steps cause an error repost them here.

Edit I just noticed the thread title. Are you trying to install from a tar.gz file or a cdrom?

January 7th, 2009, 03:14 AM
if your Ubuntu desktop automatically mounts the CD (default behavior), then you might be able to just explore to the CD directory (using nautilus, the file manager) and double click on the setup.sh file.

if you're asked what to do, say 'i want to run or execute this file'...

hope this helps.

January 7th, 2009, 03:16 AM
oh.. forgot to add.. i used to love railroad tycoon back in the DOS days! ;-)

August 8th, 2009, 07:16 PM
guntars@gunch-laptop:/media/cdrom$ sh setup.sh
sh: Can't open setup.sh

what next?

August 8th, 2009, 07:49 PM
Take a look at this Youtube tutorial Video 5 - Installing and Removing Software in Ubuntu - LINUX (http://113663ee.*********.com)
Follow the link to the tutorial video. I had some real bad trouble understanding this when I first started. Video will clear things up a bit.

August 8th, 2009, 09:25 PM
yeah.. thank You, but i know how to use the synaptic package manager... that doese not solve my problem.

August 9th, 2009, 05:38 PM
could someone help me please?

August 10th, 2009, 12:27 AM

This might help you. :)

Edit: https://help.ubuntu.com/community/CompilingEasyHowTo

A how-to for compiling.

August 10th, 2009, 02:58 AM
guntars@gunch-laptop:/media/cdrom$ sh setup.sh
sh: Can't open setup.sh

what next?
Hi, as Tim Sharitt mentioned are you trying to install from cdrom or tar.gz (let us know so we can provide better help)? If its a tar.gz then you will need to extract it and enter the source directory.
The above message you are getting is probably because there is no setup.sh in the cdrom directory. If you have the Railroad Tycoon II cd make sure it is in the cdrom.