LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing an app (https://www.linuxquestions.org/questions/linux-software-2/installing-an-app-4175642232/)

Finsfree 11-12-2018 05:11 PM

Installing an app
 
1 Attachment(s)
Hi,

I am pretty new to Linux so don't laugh.

I want to install an app, but after extracting all the file I can't run the install script "install-sh".

See Attached

BW-userx 11-12-2018 05:31 PM

Quote:

Originally Posted by Finsfree (Post 5925460)
Hi,

I am pretty new to Linux so don't laugh.

I want to install an app, but after extracting all the file I can't run the install script "install-sh".

See Attached

that is because you do not use that one. what else you got in there? configure, Makefile, autogen.sh ?

order of precedence:
configure
Makefile = make
autogen.sh

scasey 11-12-2018 05:31 PM

You need to read the installation documentation. Try the README.rst file...or look on the site you downloaded the application from.

nodir 11-12-2018 06:52 PM

Quote:

Originally Posted by BW-userx (Post 5925462)
that is because you do not use that one. what else you got in there? configure, Makefile, autogen.sh ?

order of precedence:
configure
Makefile = make
autogen.sh

autogen.sh get's run before configure (if it's run at all, often it is optional, but sure not *after make).
https://www.gnu.org/software/automak...tools-faq.html

nodir 11-12-2018 06:59 PM

Quote:

Originally Posted by Finsfree (Post 5925460)
Hi,

I am pretty new to Linux so don't laugh.

I want to install an app, but after extracting all the file I can't run the install script "install-sh".

See Attached

You probably run a linux distribution with a package manager. Most of the time you find the application you want to install in the repositories of your linux distribution. Or a similar application.
If you really *must have that one application you refer to, do as scasey already said, and read the Readme file or look at the applications homepage. They should have instructions how to install it.
If you are still lost you can say which application that is and where it is to be found. Then it will be much easier for people here to tell you how to install it.
I don't think it is a good idea to install software from outside your distributions repository, and even worse if you are new.

Finsfree 11-13-2018 08:09 PM

Quote:

Originally Posted by BW-userx (Post 5925462)
that is because you do not use that one. what else you got in there? configure, Makefile, autogen.sh ?

order of precedence:
configure
Makefile = make
autogen.sh

I got it to install with the "configure" file. During the installation each required me to run the next command (example: make, next make, something else & sudo apt install).

BTW, I was trying to install Python 3.7.1.

Thanks for the tips guys.

I guess every install in Linux is different....

BW-userx 11-13-2018 08:21 PM

Quote:

Originally Posted by nodir (Post 5925478)
autogen.sh get's run before configure (if it's run at all, often it is optional, but sure not *after make).
https://www.gnu.org/software/automak...tools-faq.html

oh my line of thought must have been off, last ditch script to run if nothing else is there.

BW-userx 11-13-2018 08:23 PM

Quote:

Originally Posted by Finsfree (Post 5925807)
I got it to install with the "configure" file. During the installation each required me to run the next command (example: make, next make, something else & sudo apt install).

BTW, I was trying to install Python 3.7.1.

Thanks for the tips guys.

I guess every install in Linux is different....

yes
./confirure
make
sudo make install

it should be in the README or install file, very important. :D

and yes python should be in the repo. most everybody's (distro)

jefro 11-13-2018 09:04 PM

"I guess every install in Linux is different" Well, in a way. However what you did is to use a new program (not an app exactly) from outside of your distro's package manager. That sort of program install tends to have a few issues common across major distros.


As noted above, it's best to use your package management system if possible.

dc.901 11-14-2018 06:25 AM

Quote:

Originally Posted by Finsfree (Post 5925807)
BTW, I was trying to install Python 3.7.1.

Did you check the repo? You should have Python 3.x in repo; what OS (Ubuntu, CentOS)?

ondoho 11-14-2018 12:18 PM

Quote:

Originally Posted by Finsfree (Post 5925807)
BTW, I was trying to install Python 3.7.1.

install globally? good chance that will break your system. you have been warned.

please answer the basic questions first; this seems like some kind of xy-problem.


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