LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   run/install a .sh program (https://www.linuxquestions.org/questions/linux-newbie-8/run-install-a-sh-program-419389/)

drmjh 02-25-2006 08:31 AM

run/install a .sh program
 
I downloaded a trial version of the Quicken-equivalent program for linux and am eager to try it.
I have never installed or run a program of this type so my feeble attempts amounted to naught.
I understand that the program is written in PERL .
The program is: moneydance_linux_x86.sh.
I tried using the Run command, no joy. I then tried the Shell and though it said permission denied, that makes no sense since I opened a Root shell .
: linux:~ # /./home/mathay/moneydance_linux_x86.sh
-bash: /./home/mathay/moneydance_linux_x86.sh: Permission denied

Does this program have to be installed? and how do I go about that?
Any input is appreciated.

Matthew:study:

bathory 02-25-2006 08:37 AM

First of all make sure the program is executable:
Code:

chmod +x moneydance_linux_x86.sh
Then run it like this:
Code:

./moneydance_linux_x86.sh

drmjh 02-25-2006 10:40 AM

Thanks Bathory,
The install went without protest once I did a chmod as suggested. But now, a different problem.
I have the program installed under /opt and just before the installer quit it gave me a message saying the program would run using the usual listed 'something or other'.
I tried to run using ./
This is the response:

linux:/opt # ./moneydance
-bash: ./moneydance: is a directory
linux:/opt # cd moneydance
linux:/opt/moneydance # ./moneydance
-bash: ./moneydance: No such file or directory
linux:/opt/moneydance #
Matthew:eek:

I thought this might help. It's the contents of the relevant Dir.

linux:/opt/moneydance # ls
. .install4j Moneydance Uninstaller.desktop appsrc.jar moneydance.jar
.. Moneydance Moneydance.desktop license.txt uninstall

ethics 02-25-2006 10:45 AM

you're typing moneydance, the file is Moneydance (cap) linux is case sensitive.

drmjh 02-25-2006 02:09 PM

Duh!
Can't believe how easily this stuff makes one appear brain dead.
It is certainly a humbling experience.
Thanks, everything works fine now that the proper case was entered.
Matthew:o


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