Question:
Linux (Fedora) - how to install software?
jsprplc2006
2008-01-30 04:29:32 UTC
I'm trying to install a *.tar.gz file, and having some problems.

Everything works fine up to the point where I switch to the root user and type the "make install" command. Then, I get this:

[root@localhost unix]# make install

/usr/bin/install -c -m 755 plink
/usr/local/bin/plink

/usr/bin/install -c -m 755 pscp
/usr/local/bin/pscp
/usr/bin/install -c -m 755 psftp
/usr/local/bin/psftp
/usr/bin/install -c -m 755 pterm
/usr/local/bin/pterm
/usr/bin/install: cannot stat `pterm': No such file or directory
make: *** [install] Error 1
[root@localhost unix]#

What is this install error, and how can I fix it?

***Note: I can't use the package manager, since I have no internet connection for it to retrieve the 'repository' information.
Three answers:
jplatt39
2008-01-30 05:33:32 UTC
Hi. First, okay, you can't use yum. You can still use RPM. Read the rpm man page: if you have a computer with an internet connection and a cd burner, burn the rpm of the package you are trying to install to a cd, mount it, then type "rpm -ivh ". TAR.GZ files are generally for plain vanilla linuxes. They will run but not as well as rpm files.



pterm is obviously part of the package you are trying to install. It is not compiling for some reason, and therefore not installing. This sometimes happens when installing vanilla Linux packages in either red hat -derived or debian-derived (such as Ubuntu Linux Mint) systems. Before trying to fix it try to find the rpm file and install it.
aprea
2016-10-06 02:45:54 UTC
almost each and every Linux has a equipment administration software that installs the appliance you like, that's whether or no longer it truly is offered for the Linux distribution you're making use of. it truly is a splash distinctive in the way it does this whilst in comparison with homestead windows. you could the two use the equipment administration software or the terminal console instructions, provided you be attentive to ways those instructions artwork. understanding which Linux you plan to apply or are making use of enables provide a greater suitable answer as to the way it truly is done. Ubuntu bypass to the menus on the precise, bypass to the single one the ultimate and opem, bypass all the way down to 2d merchandise in record (admin or equipment) and open it, (you could desire to apply your person password) click on Synaptic, it is going to open the equipment administration software. Use the seek container and whether it truly is there it is going to arise interior the record to place in.
anonymous
2008-01-30 04:55:58 UTC
Hi,



Have a look at the man page for install

install -c wil only COPY source to destination

while

install -d will create the corresponding directories..

From the error you get :

/usr/local/bin/pterm does NOT exits....so...error..

Change your installation script so it will run with the -p switch



-R.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...