wget replacement in MAC OS X Server

By BXTra |

I have a MAC OS X Server and would like to be able to use "wget" command to download some file using Terminal. However, wget doesn't come with it. So, I checked on Google and found an article about using Curl as a replacement for wget. What you have to do is run command below in Terminal :

echo 'alias wget="curl -O"' >> ~/.bash_profile

Then, log out and login again. Now, you can use "wget" command to download file as you normally do. For example, I ran

wget http://pecl.php.net/get/APC-3.1.7.tgz

It will looks like this :


Server Information - Software
- Mac OS X Server - Snow Leopard 10.6.7

Source : http://www.mymacosx.com/terminal/wget-replacement-macos.html

Add new comment

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.