LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-31-2001, 08:57 AM   #1
matt
Member
 
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62

Rep: Reputation: 15
Arrow .sh install file extention


Hello,

I just download Music Match, and the install program has an ".sh" file extention. Being a Newbie, I've only installed from rpm's and tar's, and can't seem to find any info on "sh." Can ya hep me?
 
Old 07-31-2001, 09:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
.sh implies that it is a shell script ( aka a batch file in windows ). you should be able to run it straight away. assuming it's runnable, if not..

chmod a+x install.sh
or
sh install.sh

chris
xxxx
 
Old 07-31-2001, 09:07 AM   #3
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
fwiw, Matt....

...the few times I have had occasion to run one of these scripts, what I did was, as root, in the directory where the file resides:

# sh install.sh [or, whatever the name of the .sh file is]

hth
 
Old 08-01-2001, 02:29 AM   #4
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
just as a work of caution, if there's a README or an INSTALL text file, do what it says. install.sh scripts are common, but they're not always directly used - many times they're part of another script. the most common installation procedure is

./configure
make
make install

sometimes, there will be a package (XF86 comes to mind) that requires the user to run an install.sh script. in that case, it's usually ./sh install.sh to run it. sh is a shell, like bash or csh or ksh... ect. that's usually what the sh stands for.
 
Old 08-01-2001, 05:32 PM   #5
matt
Member
 
Registered: Jul 2001
Location: Chicago
Distribution: RH7.1 ; OSX
Posts: 62

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks folks - the install seemed to work out just fine.
 
Old 09-08-2004, 08:56 PM   #6
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
If sh is a batch file can an entire setup file be inside this batch file ?
Im downloading a 94 MB sh file. Shouldnt this be in compressed format ?
 
Old 09-08-2004, 10:10 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Yes, it's possible to store data in shell archive files, but I'm not sure if that's what's happening in your case. maybe your install script fetches what it needs from an HTTP or FTP server? You could just read the script to figure out what it's doing.
 
Old 09-09-2004, 03:37 AM   #8
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
I dont think Im installing an installer that'll download files from a server. The size is 94mb. It should be the entire installation.
 
  


Reply



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
what's find the extention of a file in linux? mcshen Linux - General 20 02-28-2005 01:16 PM
Which article to use before an extention? jschiwal General 2 02-04-2005 09:29 PM
cannot install PHPMYADMIN MySQL Extention will not load k41184 Linux - Software 1 06-02-2004 01:28 PM
unpacking a (.sh) file extention. troycus Linux - Newbie 2 10-07-2003 09:52 PM
.bin extention troycus Linux - Newbie 1 09-24-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 AM.

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
Open Source Consulting | Domain Registration