Install wget command under macbook pro

Install wget command under macbook pro

1.   ftp://ftp.gnu.org/gnu/wget/ to download the source package. wget-1.9.tar.gz version

2. Unzip: tar -zxvf wget-1.9.tar.gz 

3. Enter the installation directory and execute ./configure

4. Execute make, there will be a long list of execution operations, don't care about this

5. Execute make install 

It may report an error, there is no permission, you need sudo or create a directory directly in the Finder.

6. Test whether the installation is successful: enter wget www.baidu.com in the command line, then press Enter, the prompt is as follows

At this point, the installation is complete.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326483709&siteId=291194637