Site Fuse! programming, design, hosting, promotion and advertising tips for webmasters
Design    Programming    Hosting    Classifieds

How to install wget to your server


Important: The following is a text only archive!
For full features; Go to How to install wget to your server

posted by 2Guns There're two compressed versions of wget available on the download page(you can find the link below). *.zip version and *.tar.gz version.

If you decide to download *.zip version, simply unzip it and upload it to your server using your FTP software of choice. Jump to "installation" section if you decided to download the *.zip

If you decide to *.tar.gz version, upload it to your server using your FTP software of choice. Then login through ssh or telnet to the server and unpack the file using;

tar -zxvf wget-1.9.tar.gz
The additional `z' at the beginning of the options list tells tar to uncompress the file with gunzip before extracting the tarfile's components.

Installation
At this point, the wget sources should be sitting in a directory. Login through ssh or telnet to the server and cd to the wget directory.

cd wget-1.9 (or whatever your wget directory name is)
Compile it with the following commands;

./configure
make
If the make completes successfully, the odds are fairly good that the build has gone well.

To install wget, become the superuser by typing SU and entering your superuser password and type

make install
The standard installation process will copy the wget binary to /usr/local/bin, install the info pages (wget.info*) to /usr/local/info. You can customize the directories either through the configuration process or making the necessary changes in the Makefile.

To delete the files created by Wget installation, you can use make uninstall.