LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2009, 01:23 PM   #1
J.Beall
LQ Newbie
 
Registered: Nov 2008
Location: Frederick, Md
Distribution: ubuntu 11.10
Posts: 8

Rep: Reputation: 0
Unhappy Installing .sh files


Greetings All,

Having a problem installing a program called install_HE-Diabetes.sh. It's a sh script file but I'm unable to run the program. I'm using unbuntu 8.10
. I did install it on my old Fedora 6 OS, but I upgraded to ver. 9, then It crashed. So I'm using unbuntu til I can get another copy . Well I must have forgot the correct way to do this so I'm tossing it to this group.


Many thanks for all of the replies I receive on this topic.

John
 
Old 01-15-2009, 01:35 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you should give the error messages.

However, try:
chmod +x install_HE-Diabetes.sh
./install_HE-Diabetes.sh
 
Old 01-15-2009, 01:38 PM   #3
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
Check if the script is executable, using ls -l (you'll see the long format of ls, including permissions, which should state that you have x - meaning execute - permission)

If it is not executable, make it so using chmod +x FILENAME.

After that, just run the script using ./FILENAME

If you have any problems after that, you need to post the output if people are going to be able to help you.

/CZ
 
Old 01-15-2009, 02:33 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Most likely it is a shell archive containing a certain amount of encoded binary data. I've seen some of these installers to launch an install wizard, often based on java. If this is the case, there is a chance it looks for a Java Virtual Machine that is not available on your system.

If the problem is actually running the shell script, either add permission for execution - as alreay suggested - or launch it as
Code:
/bin/sh install_HE-Diabetes.sh
and copy/paste the error message (if any) embedding it in code tags.
 
  


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
help with installing files Linux nooB 454 Linux - Newbie 2 05-24-2005 09:54 AM
how/where should I be installing files? ElvenAssassin Linux - Newbie 5 04-25-2005 01:59 PM
New To Linux, need help installing files SkiZzy Linux - Newbie 4 06-01-2004 04:24 AM
Help w/installing gz files supern00b Linux - Newbie 4 10-14-2003 02:01 PM
Installing files Kid_Gloves Linux - General 1 05-03-2001 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 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
Open Source Consulting | Domain Registration