LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-01-2017, 12:35 AM   #1
cplmckenzie
LQ Newbie
 
Registered: Jan 2017
Posts: 8

Rep: Reputation: Disabled
Installed .sh program will not run?


hi,

First let me say, I an new to any Linux. So I probably did something wrong.

Installed a program like this as was indicated in a tutorial in CLI installations

in /, I installed by...

sh ./<installer>.sh.

The program's icon shows in the menu list, when I click on it nothing happens.

More reading indicated run the program from the directory in which it was installed, but I can't locate.

Questions...

1. did I install the program correctly?

2. what directory was the program installed in?

Thanks in advance.

cplmckenzie
 
Old 01-01-2017, 12:44 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,655
Blog Entries: 11

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Welcome to LQ, and Happy New Year!

You have not provided any information useful toward providing an answer to your question.

What tutorial? What is the mystery program? What Linux distro and version?

The description is certainly not the normal way to install any program under Linux. Normally, you would use the distributions native package manager to install most software from official or contributed repos, the exact method depending on the version of Linux.

Please see this page and the links at bottom of that page as a guide to providing a more complete description of your problem so that someone here can better help you.

Good Luck!

Last edited by astrogeek; 01-01-2017 at 12:47 AM. Reason: typo
 
Old 01-01-2017, 12:56 AM   #3
cplmckenzie
LQ Newbie
 
Registered: Jan 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
The instructions were from the applications (McIDAS-V User's Guide) user guide to installing and running it.
What more info may I provide so that you can help me.
 
Old 01-01-2017, 01:16 AM   #4
cplmckenzie
LQ Newbie
 
Registered: Jan 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
I meant to add

The distro was Linux Mint 17.3.

The program was McIDAS-V User's Guide, a NOAA application to download data and view radar satellite images.

The Linux version of the program was just this .sh installer file.

I can provide the instructions they gave or the link to it, if it would be helpful.

cplmckenzie
 
Old 01-01-2017, 01:33 AM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,655
Blog Entries: 11

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Thanks for the additional info. Normally when seeking help it is important to note the Linux distro, what you have done and where the program was downloaded, etc.

I just downloaded and installed it on my system and can now answer at least a few of your questions.

When you ran the installer it asked where to install. The default is the user's home directory in a directory named McIDAS-V-System. That is where I installed mine. If you installed it as root to another location, then you will need to find that location in order to run it.

This is a java application so you probably want to install it as your normal user, not as root, and into your user home directory where it will create a suitable directory tree.

So first question is, did you install it as root user (or using sudo), or as your normal user?

As the user by which you installed it, what does this say:

Code:
ls -l ~/Mc*
UPDATE ***

I must shut down shortly, so before leaving I will add the following notes...

As said, it is a java application and seems smart enough to find the jar paths when run from the start script ../McIDAS-V-System/runMcV.

If you installed it as normal user using defaults, it would have installed to /home/{user}/McIDAS-V-System/... where {user} is your user name.

If you installed it as root user using defaults, it would have installed to /root/McIDAS-V-System/...

If you installed it as root, I might suggest using the ../McIDAS-V-System/uninstall script to remove it, then reinstall as normal user to your home directory. It does not seem to require root privs to run.

Once installed, you start it by simply running in a terminal:

Code:
./path/to/McIDAS-V-System/runMcV &
You can add it to your menu system using the same path.

Should you prefer to install it for all users, I would put under /opt on my Slackware machines, but it does appear well behaved (admittedly brief experience!) and does not pollute your system - so ask a Mint user about the preferred install path for non-packaged applications.

It does work, I am watching the clouds over my head as I type!

Last edited by astrogeek; 01-01-2017 at 02:24 AM. Reason: typo
 
Old 01-01-2017, 04:57 AM   #6
nodir
Member
 
Registered: May 2016
Posts: 222

Rep: Reputation: Disabled
In my humble opinion:
If you are new to linux, then it is better to first make use and get used to the way the Linux distribution you use installs, removes and upgrades packages.
Once you are used to the packagemangement of that distro, you can decide if you really need third party software,
and if you are able and willing to handle the possible unstability in the package management system.
 
Old 01-01-2017, 10:09 AM   #7
cplmckenzie
LQ Newbie
 
Registered: Jan 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thank You. You were right

Thanks for you help. I ran it from the scripts and it ran .

Once again thanks. I will mark this as SOLVED

cplmckenzie
 
  


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
I've downloaded and installed a program, now how do you run it??? DJockey Linux - Software 8 07-20-2009 07:06 PM
Help to run the PHP program I installed Gins Linux - General 7 09-09-2005 04:01 PM
How to run a downloaded program after it has been installed. tzartman Linux - Software 3 08-13-2005 02:59 AM
installed a program with YaST, how do I run it? trempel Linux - Newbie 2 02-25-2005 05:59 PM
how to run installed program ? Viper Slackware 9 10-11-2003 04:19 PM

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

All times are GMT -5. The time now is 11:42 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