LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Program installed, now can't locate or start it (https://www.linuxquestions.org/questions/linux-newbie-8/program-installed-now-cant-locate-or-start-it-269869/)

rollo 12-24-2004 05:51 AM

Program installed, now can't locate or start it
 
I think I installed 'wget' (an FTP-like program which runs in the background) using an .rpm. At least, I must have because I get the "already installed" message if I try to re-install it.

Now how do I invoke the program? The command "wget" is not recognised, nothing is listed in the Runlevel Editor, can't find anything that looks like a binary on the hard drive.

What should I do next?

Thanks.

MasterC 12-24-2004 06:03 AM

Runlevel Editor?

Try launching it from a terminal or checking the man page:
man wget
To see what you get, then post the results. wget is much much much more than "an FTP-like application".

Cool

rollo 12-24-2004 03:03 PM

"no manual entry"
 
Results of man wget -
Code:

No manual entry for wget
When I try running the .rpm I get -
Code:

package wget-1.9.1-45 is already installed
I did try to install it (or perhaps another version) before but ran into dependency problems and gave up. Any idea how to untangle this?

I would love to discover what a great program wget is!

Thanks...

whjones 12-24-2004 06:24 PM

You need to clarify your termnology. The output you posted after you tried to "run'" the program looks as if you tried to reinstall the program. You can try:

rpm -qa | grep wget

to see the version you installed (without trying to reinstall it again). Alternatively, you can try:

locate wget

to see all the files with 'wget' in the filename. It will probably be somewhere like /usr/bin or /usr/local/bin. Of course, to get the most accurate results from the locate command, you'll have to switch user to root, then issue the 'updatedb' command, which will take a couple of minutes.

That being said, you should be able to simply enter 'wget' at a commant prompt to run the program. I would add an '&' after the command however (like 'wget &'), as the ampersand makes the process run in the background - you can then use the command tool/terminal for other tasks.

William Jones

minm 12-24-2004 06:58 PM

Make sure you do 'updatedb' as root then locate whatever program you are looking for then run it :)

Good luck

deWin 12-24-2004 07:17 PM

Try "which wget", it gives me the location "/usr/bin/wget"

rollo 12-24-2004 07:25 PM

Entering 'locate wget' produces a 'command not found', but a search thru KDE turns up no binaries with 'wget' in their name.

Entering 'rpm -qa | grep wget' produces:

Code:

wget-1.9.1-45
As I said in my first post, entering the command 'wget' produces:

Code:

bash: wget: command not found
Quote:

You need to clarify your termnology. The output you posted after you tried to "run'" the program looks as if you tried to reinstall the program.
I said I ran the .rpm - using the command 'rpm'. I would love to run the program but it doesn't seem to exist, even though the system thinks it does.

More ideas much appreciated...

rollo 12-24-2004 07:30 PM

'which wget' returns absolutely nothing, bizarrely. Just the command prompt on a new line.

minm 12-25-2004 02:29 AM

rollo, make sure you install the locate tools to use the locate command.

you also have to make sure that the RPM you are installing is for your current distro.

Once you do that, as i said, go into root and type updatedb
now close that terminal window and open a new one, then locate wget as a normal user

this SHOULD work

whipermr5 12-25-2004 02:38 AM

Try installing the .rpm you were trying to install originally, with the --force switch. That should uninstall the previous wget that it thinks is installed and install the new one

rollo 12-25-2004 12:38 PM

locate etc
 
Quote:

Try installing the .rpm you were trying to install originally, with the --force switch.
Code:

rpm: only installation, upgrading, rmsource and rmspec may be forced
Quote:

rollo, make sure you install the locate tools to use the locate command.
Any idea how to install these? It's always the simplest tasks which are the hardest - I can't find any clues googling this one...

minm 12-25-2004 04:26 PM

It's very easy.

In the Yast manager, go into software, then installation. Once there, search 'locate' and check the locate tools, once that's done do the steps i recommended :)

Good luck

rollo 12-25-2004 06:29 PM

Thanks minm.

Installed locate, ran updatedb, then ran 'locate wget'. This produced:

Code:

locate: /var/lib/locatedb: No such file or directory
:confused:

minm 12-25-2004 06:31 PM

remember to close the terminal you did updatedb in and open a new one and run it in your user account not su

dizzutch 12-25-2004 06:58 PM

what's your path?
Code:

echo $PATH
you're probably logged in as root with su, but didn't do su - so your path is screwed up
try it as a regular user


All times are GMT -5. The time now is 03:50 PM.