There are four ways to download Wget :
However, Xcode takes up more than 10 GB when installed. I don’t think it’s worth it to download Xcode simply for Wget.
- Official website of Gun
cd ~/Downloads curl -O https://ftp.gnu.org/gnu/wget/wget2-1.99.2.tar.gz tar -zxvf wget2-1.99.2.tar.gz cd wget2-1.99.2/ ./configure make make install wget http://ftp.gnu.org/gnu/wget/wget-1.19.5.tar.gz
However, errors occured. According to this article
, it seems I have to install Xcode first; otherwise running
./configure won’t be successful.
I downloaded Macports first and then downloaded Wget from it. It worked.
Last modified on 2023-01-18