LinuxQuestions.org
Register a domain and help support LQ
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 08-27-2009, 02:35 PM   #1
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Regarding wget


Hi,
I want to run the wget command on my server but it says -ksh: wget: command not found.I even tried it with bash but it gives me the same error.Can anyone tell me a step by step approach how do i install the command wget on my linux server.When I run the command uname -a it gives me the following output.

Linux kabru 2.6.18-92.1.13.AV01PAE #1 SMP Thu Oct 30 12:37:20 MDT 2008 i686 i686 i386 GNU/Linux
Can some one please guide me?

Thanks,
Ajit
 
Old 08-27-2009, 02:37 PM   #2
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
install the wget package do
which wget or whereis wget

and see what it shows.
 
Old 08-27-2009, 03:09 PM   #3
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Original Poster
Rep: Reputation: 21
Wget

Quote:
Originally Posted by kdelover View Post
install the wget package do
which wget or whereis wget

and see what it shows.
These are my outputs of the which wget and whereis wget commands
which wget
/usr/bin/which: no wget in (/home/gunge/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/add-on/definity/binlinux::./:/home/gunge/bin:/usr/add-on/definity/binlinux)

where wget
whereis wget
wget:


Ajit
 
Old 08-27-2009, 03:16 PM   #4
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
tesla02:/> which wget
/usr/bin/wget
tesla02:/> rpm -qf /usr/bin/wget
wget-1.10-1.1
tesla02:/>

Install that package
 
Old 08-27-2009, 03:23 PM   #5
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Original Poster
Rep: Reputation: 21
getting required rpm package

Quote:
Originally Posted by kdelover View Post
tesla02:/> which wget
/usr/bin/wget
tesla02:/> rpm -qf /usr/bin/wget
wget-1.10-1.1
tesla02:/>

Install that package
I am sorry Kdelover but suppose if my rpm -qf /usr/bin/wget gives the following output how do i find the required package.

rpm -qf /usr/bin/wget
error: cannot open Packages index using db3 - Permission denied (13)
error: cannot open Packages database in /usr/lib/rpm/db
error: cannot open Packages database in /usr/lib/rpm/db
file /usr/bin/wget is not owned by any package


Regards,
Ajit
 
Old 08-27-2009, 03:29 PM   #6
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
can you do yum install wget -y or get the wget package from rpmfind or rpmbone

http://www.rpmfind.net/linux/rpm2htm...php?query=wget


do yumdownloader ftp://194.199.20.114/linux/fedora/de....fc12.i686.rpm

get the package and do yum localinstall <packagename>

OR

rpm -ivh <packagename>

 
Old 08-27-2009, 03:35 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
assuming redhat, fedora, centos, ...:
Code:
sudo yum install wget
 
Old 08-27-2009, 03:38 PM   #8
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Original Poster
Rep: Reputation: 21
RPM installation

Quote:
Originally Posted by kdelover View Post
can you do yum install wget -y or get the wget package from rpmfind or rpmbone

http://www.rpmfind.net/linux/rpm2htm...php?query=wget


do yumdownloader ftp://194.199.20.114/linux/fedora/de....fc12.i686.rpm

get the package and do yum localinstall <packagename>

OR

rpm -ivh <packagename>

I guess I dont even have the yum RPMS I can try to install them form the same site u lsited.

thanks for all the help.
 
Old 08-27-2009, 04:40 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
from this post
http://www.linuxquestions.org/questi...7/#post3659945
you have red hat BUT WHAT VERSION ( i am assumming RHEL 5.3 or 5.0 to 5.2 ) ?????
and wget was working

have you talked to your PAID FOR $$$$ tech support ?
OR did you NOT buy the tech support AND SOFTWARE UPDATES
without the paid for support YOU DO NOT HAVE ANY UPDATES available ( and NO security updates )


wget SHOULD be installed by default
but you will most likely NEED to be root to use it .
Code:
su - 
( your root password when asked )
wget http://??????????????.com/??????????????/???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using wget mierdatuti Linux - Networking 3 08-17-2008 07:19 AM
wget not working! but "man wget is" ??? wrapster Solaris / OpenSolaris 5 07-30-2008 04:00 AM
wget?? Solvaut Linux - Newbie 9 08-15-2005 12:10 AM
Wget Help clorox Linux - Newbie 1 04-28-2005 04:57 PM
wget know how ksd Slackware 16 10-19-2003 08:15 AM


All times are GMT -5. The time now is 02:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration