Web Hosting Talk







View Full Version : Fetch In Freebsd


dallassmith
05-10-2002, 07:45 PM
Just got a new server thats running free bsd, it doesnt have wget so I tried fetch ftp.yadyyada.com/file or what ever and it doesn't start! What am I doing wrong? Do i need to install anything if so HOW ;-)

-Aaron-

Shyne
05-10-2002, 07:49 PM
You gotta more specific then "doesn't start"
If the command is not found them most likely the port was not installed. Go to the Fetch port, and type in "make" followed by "make install"

ScottD
05-10-2002, 07:58 PM
If you don't feel like dealing with ports, there are easier ways to get along in FreeBSD that may be of interest.

If you really like wget, you can type "pkg_add -r wget" and it'll install it for you.

On that note, you should spend some time getting used to how FreeBSD handles ports and pkg's though as it is a very important and powerful part of FreeBSD overall.

To use fetch in your previous example: fetch ftp://ftp.yadyyada.com/file.

Good luck.

webx
05-10-2002, 08:03 PM
If your machine has 'ports' installed, do this:

#whereis wget
wget: /usr/ports/ftp/wget

now we go there ;)

#cd /usr/ports/ftp/wget
#make install

and enjoy :D




FreeBSD ports rule :cool:

dallassmith
05-10-2002, 08:09 PM
I dont have wget :-( i did the whereis wget it didnt find anything.

webx
05-10-2002, 09:14 PM
Check if ports is installed on your system. It is usually in /usr/ports

if not, then you need to install that first. check http://www.freebsd.org (Handbook)

Shyne
05-10-2002, 11:31 PM
What is easier then ports? Nothing. Use ports.

ScottD
05-10-2002, 11:38 PM
The main reason I recommend "pkg_add -r" is that you don't have to cvsup ports prior to doing so to be sure you get the latest build.

Of course, to get the absolute latest you'll want to cvsup ports and build it yourself, but it isn't always necessary.