You do not want to install wget on Linux. You want curl to download a file from the internet. How do you get curl to work through a forwarding request the same way wget natively works?
Use the "-L" flag. For example:
curl -L www.continualintegration.com > /tmp/good.html