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. |
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 |
"no manual entry"
Results of man wget -
Code:
No manual entry for wget Code:
package wget-1.9.1-45 is already installed I would love to discover what a great program wget is! Thanks... |
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 |
Make sure you do 'updatedb' as root then locate whatever program you are looking for then run it :)
Good luck |
Try "which wget", it gives me the location "/usr/bin/wget"
|
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 Code:
bash: wget: command not found Quote:
More ideas much appreciated... |
'which wget' returns absolutely nothing, bizarrely. Just the command prompt on a new line.
|
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 |
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
|
locate etc
Quote:
Code:
rpm: only installation, upgrading, rmsource and rmspec may be forced Quote:
|
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 |
Thanks minm.
Installed locate, ran updatedb, then ran 'locate wget'. This produced: Code:
locate: /var/lib/locatedb: No such file or directory |
remember to close the terminal you did updatedb in and open a new one and run it in your user account not su
|
what's your path?
Code:
echo $PATH try it as a regular user |
All times are GMT -5. The time now is 03:50 PM. |