LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2005, 06:39 PM   #1
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Rep: Reputation: 0
install.sh


im completly new to using linux (madrake 9.2) and i just downloaded a game of the net and i have no idea how to install it, plz someone walk me threw it (form the gnome desktop. Thx a lot for any help
 
Old 05-16-2005, 07:07 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
You'll have to give a bit more info if you want some help

What format is the file in, for starters. A tarball that you've since extracted and found a file called install.sh ?

Cheers,

mj
 
Old 05-16-2005, 07:18 PM   #3
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
i did extract it from a "tarball" and when i click on it, it just opens it up in a text reader and im clueless as of what to do next. What else do you want to know?
 
Old 05-16-2005, 07:39 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Best to do it in a shell (terminal, konsole, gterm etc. etc.). First see if there is a README or INSTALL file, and read them -- they'll usually give pretty clear indications on how to install the program. There may be a configure, make, make install sequence you need to follow if it is pure source code. Otherwise, read through the install.sh file and attempt to gauge what it's going to do (you don't want anything unexpected happening, believe me), then
Code:
chmod u+x install.sh
./install.sh
Cheers,

mj
 
Old 05-16-2005, 08:02 PM   #5
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
i click on install-sh, and it askes me to open in a termonal or not, when i do it opens for just a second then closes itself , wtf?
 
Old 05-16-2005, 08:05 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
No, don't click on the file.

Open a terminal (any one will do) and then cd to the directory containing the install.sh file. Then type the commands above.

Cheers,

mj
 
Old 05-16-2005, 08:23 PM   #7
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Code:
[ian@localhost ian]$ cd /home
[ian@localhost home]$
[ian@localhost home]$ chmod u+x install.sh
chmod: failed to get attributes of `install.sh': No such file or directory
[ian@localhost home]$ ./install.sh
bash: ./install.sh: No such file or directory
What am i doing wrong?
 
Old 05-16-2005, 08:28 PM   #8
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
You're probably in the wrong directory. What is the output of
Code:
ls -lh
 
Old 05-16-2005, 08:30 PM   #9
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Code:
[ian@localhost ian]$ ls -lh
total 4.5M
drwxrwxr-x    4 ian      ian          4.0K Apr 11  2002 bumprace-1.45/
-rw-rw-r--    1 ian      ian             1 May 16 19:53 confdefs.h
-rw-rw-r--    1 ian      ian             0 May 16 17:57 config.cache
-rw-rw-r--    1 ian      ian           240 May 16 19:53 config.log
drwxrwxr-x    6 ian      ian          4.0K May 16 20:17 Desktop/
drwxr-xr-x    2 ian      ian          4.0K May 12 17:08 Documents/
drwx------    7 ian      ian          4.0K May 16 18:06 evolution/
-rw-rw-r--    1 ian      games        901K May 16 18:54 screenshot1.bmp
-rw-rw-r--    1 ian      games        901K May 16 18:54 screenshot2.bmp
-rw-rw-r--    1 ian      games        901K May 16 19:43 screenshot3.bmp
-rw-rw-r--    1 ian      games        901K May 16 19:44 screenshot4.bmp
-rw-rw-r--    1 ian      games        901K May 16 19:44 screenshot5.bmp
drwx------    6 ian      ian          4.0K May 16 20:17 tmp/
[ian@localhost ian]$
 
Old 05-16-2005, 08:33 PM   #10
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Presumably you're installing something called Bumprace. If so, then
Code:
cd bumprace-1.45
chmod u+x install.sh
./install.sh
mj
 
Old 05-16-2005, 08:39 PM   #11
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Code:
[ian@localhost ian]$ cd bumprace-1.45
[ian@localhost bumprace-1.45]$ chmod u+x install.sh
chmod: failed to get attributes of `install.sh': No such file or directory
[ian@localhost bumprace-1.45]$ ./install.sh
bash: ./install.sh: No such file or directory
 
Old 05-16-2005, 08:44 PM   #12
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Code:
cd ~
cd bumprace-1.45
ls -lh
Where did you open up the install.sh file from before -- a subdirectory of bumprace, temp, or somewhere else ?
 
Old 05-16-2005, 08:49 PM   #13
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Code:
total 252K
-rw-r--r--    1 ian      ian          6.1K Nov  2  2001 acinclude.m4
-rw-r--r--    1 ian      ian          9.7K Apr 11  2002 aclocal.m4
-rw-r--r--    1 ian      ian          1.2K Sep 17  2001 AUTHORS
-rw-r--r--    2 ian      ian          7.5K Apr 11  2002 ChangeLog
-rw-r--r--    1 ian      ian           31K Jan 19  2000 config.guess
-rw-r--r--    1 ian      ian           24K Jan 19  2000 config.sub
-rwxr-xr-x    1 ian      ian           65K Apr 11  2002 configure*
-rw-r--r--    1 ian      ian          1.8K Apr 11  2002 configure.in
-rw-r--r--    1 ian      ian           18K May  1  1999 COPYING
drwxrwxr-x    4 ian      ian          4.0K Apr 11  2002 data/
-rw-r--r--    1 ian      ian           788 Apr 11  2001 FAQ
-rw-r--r--    1 ian      ian          7.7K Aug 20  1999 INSTALL
-rwxr-xr-x    1 ian      ian          5.5K Oct 21  1999 install-sh*
-rw-r--r--    1 ian      ian            70 Feb 26  2000 Makefile.am
-rw-r--r--    1 ian      ian          9.7K Apr 11  2002 Makefile.in
-rwxr-xr-x    1 ian      ian          6.2K Nov 18  1999 missing*
-rwxr-xr-x    1 ian      ian           726 Nov 18  1999 mkinstalldirs*
-rw-r--r--    2 ian      ian          7.5K Apr 11  2002 NEWS
-rw-r--r--    1 ian      ian          1.6K Apr 11  2001 README
drwxrwxr-x    2 ian      ian          4.0K Apr 11  2002 src/
no diea :S
 
Old 05-16-2005, 08:52 PM   #14
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Ok, so it looks like it's an ordinary source package. Read the README, FAQ and INSTALL files, then post back if you have any questions. You'll probably have to run something like configure, make, make install.

Good luck !

mj
 
Old 05-16-2005, 09:00 PM   #15
newbe1
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Code:
[ian@localhost bumprace-1.45]$ ls -lh
total 260K
-rw-r--r--    1 ian      ian          6.1K Nov  2  2001 acinclude.m4
-rw-r--r--    1 ian      ian          9.7K Apr 11  2002 aclocal.m4
-rw-r--r--    1 ian      ian          1.2K Sep 17  2001 AUTHORS
-rw-r--r--    2 ian      ian          7.5K Apr 11  2002 ChangeLog
-rw-r--r--    1 ian      ian            51 May 16 20:57 confdefs.h
-rw-r--r--    1 ian      ian             0 May 16 20:57 config.cache
-rw-r--r--    1 ian      ian           31K Jan 19  2000 config.guess
-rw-r--r--    1 ian      ian           661 May 16 20:57 config.log
-rw-r--r--    1 ian      ian           24K Jan 19  2000 config.sub
-rwxr-xr-x    1 ian      ian           65K Apr 11  2002 configure*
-rw-r--r--    1 ian      ian          1.8K Apr 11  2002 configure.in
-rw-r--r--    1 ian      ian           18K May  1  1999 COPYING
drwxrwxr-x    4 ian      ian          4.0K Apr 11  2002 data/
-rw-r--r--    1 ian      ian           788 Apr 11  2001 FAQ
-rw-r--r--    1 ian      ian          7.7K Aug 20  1999 INSTALL
-rwxr-xr-x    1 ian      ian          5.5K Oct 21  1999 install-sh*
-rw-r--r--    1 ian      ian            70 Feb 26  2000 Makefile.am
-rw-r--r--    1 ian      ian          9.7K Apr 11  2002 Makefile.in
-rwxr-xr-x    1 ian      ian          6.2K Nov 18  1999 missing*
-rwxr-xr-x    1 ian      ian           726 Nov 18  1999 mkinstalldirs*
-rw-r--r--    2 ian      ian          7.5K Apr 11  2002 NEWS
-rw-r--r--    1 ian      ian          1.6K Apr 11  2001 README
drwxrwxr-x    2 ian      ian          4.0K Apr 11  2002 src/
[ian@localhost bumprace-1.45]$ make
make: *** No targets specified and no makefile found.  Stop.
it tells me to enter "make" and that hapens
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 05:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 02:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 07:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 01:07 AM
knoppix liveCD install works great, HD install not so good stephanie_k Linux - Newbie 3 05-10-2004 10:41 AM


All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration