wget question: was Re: [NTLUG:Discuss] Broken calendar in Evolution

MadHat madhat at unspecific.com
Thu Jul 3 11:35:09 CDT 2003


On Thu, 2003-07-03 at 00:39, Wayne Dahl wrote:
> Ok, I have now officially lost my mind.  I meekly submit myself for any
> flagellation deemed necessary.  I could have SWORE I saw a version 1.4.1
> on MadHat's X-Mailer, but going back and looking at the past few emails,
> I see they're 1.4.0.  sigh.  I'm getting too old for this.  Just ignore
> me and maybe I'll go away.

I promise I only have 1.4.0 right now.  I am playing with the sources,
but 1.4.1 has not been released.  I do my updates of Evolution via
Red-Carpet, because I am lazy.  My servers I upgrade by hand.

> 
> On the other hand, I do have a legitimate question about wget.  When I
> went to use wget from the directions on the Ximian website, of course I
> opened a terminal window and su'd to root, then attempted wget -p -O -
> etc for the Ximian download site and got an error that bash couldn't
> find wget.  I was in my home directory and thinking bash couldn't find
> the wget command, I did a locate for it, found it in /usr/bin, so I cd'd
> to /usr/bin and ran it just fine from there.  This tells me it isn't in
> the path for root to find it, correct?  Or is this too much from the
> Windoze camp?  If it's not in the path, where do you add it to the path
> statement?  I know where to go to find it in Windoze, but not so in
> Linux.  This is actually the first time I've run across this problem
> since I've started running Linux...and oh, this is a RH 8.0 box.

Start by looking at your PATH.  You can see what its set to by doing
$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/lheath/bin

You can modify your path in one of several files to make it permanent
for each time you log in.  /usr/bin should be in your path by default,
so that is a little concerning.

If you are using the default shell (bash on RH), you can check
~/.profile, ~/.bash_profile and your ~/.bashrc

By default RH will use ~/.bash_profile set set the PATH.  The line will
look something like

PATH=$PATH:$HOME/bin
export PATH

Make sure the $PATH is in there.  That PATH will be set in you
/etc/bashrc or /etc/profile

Start there and see if you can find the issue.  Let us know if you need
more pointers.


-- 
MadHat at Unspecific.com
`But I don't want to go among mad people,' Alice remarked.
`Oh, you can't help that,' said the Cat: `we're all mad here...'
   -- Lewis Carroll - _Alice's_Adventures_in_Wonderland_




More information about the Discuss mailing list