LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-24-2004, 05:51 AM   #1
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Rep: Reputation: 30
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.
 
Old 12-24-2004, 06:03 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 12-24-2004, 03:03 PM   #3
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
"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...
 
Old 12-24-2004, 06:24 PM   #4
whjones
Member
 
Registered: Nov 2004
Location: Honolulu
Distribution: Fedora Core 3
Posts: 42

Rep: Reputation: 15
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

Last edited by whjones; 12-24-2004 at 06:26 PM.
 
Old 12-24-2004, 06:58 PM   #5
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

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

Good luck
 
Old 12-24-2004, 07:17 PM   #6
deWin
Member
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 113

Rep: Reputation: 15
Try "which wget", it gives me the location "/usr/bin/wget"
 
Old 12-24-2004, 07:25 PM   #7
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Unhappy

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...
 
Old 12-24-2004, 07:30 PM   #8
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
'which wget' returns absolutely nothing, bizarrely. Just the command prompt on a new line.
 
Old 12-25-2004, 02:29 AM   #9
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
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
 
Old 12-25-2004, 02:38 AM   #10
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
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
 
Old 12-25-2004, 12:38 PM   #11
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
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...
 
Old 12-25-2004, 04:26 PM   #12
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
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
 
Old 12-25-2004, 06:29 PM   #13
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Thanks minm.

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

Code:
locate: /var/lib/locatedb: No such file or directory
 
Old 12-25-2004, 06:31 PM   #14
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
remember to close the terminal you did updatedb in and open a new one and run it in your user account not su
 
Old 12-25-2004, 06:58 PM   #15
dizzutch
Member
 
Registered: Sep 2004
Location: Worcester, MA USA
Distribution: Debian, Gentoo, Fedora FC2
Posts: 66

Rep: Reputation: 15
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
 
  


Reply



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
VM not in PATH - Cannot locate installed components chidman Linux - Newbie 3 10-14-2004 10:39 PM
How to locate where a program is? minm Linux - Newbie 18 08-16-2004 02:00 AM
can't get icewm installed because it cant locate a file simpletoker Slackware 5 03-17-2004 12:21 AM
where the applications locate installed in rpm way? cnwillow Linux - Newbie 1 11-18-2003 02:46 AM
how do i locate or point the location of installed libraries? kublador Linux - Newbie 7 03-01-2003 12:33 PM

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

All times are GMT -5. The time now is 03:25 AM.

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