I downloaded the source code of wget using apt-get source wget. I want to modify it a little, then use this wget rather than the one I’m using in /usr/bin/wget. How can I do that?
I downloaded the source code of wget using apt-get source wget . I want
Share
apt-get source wgetis retrieving your distribution’s source code ofwget.You may want to work on the genuine upstream
wgetsource, which you can get (with somewgetor some browser) by following links from http://www.gnu.org/software/wget/Then you configure, build and install – usually with
./configure; make; sudo make installbut the details may vary from package to package. You should look into files namedREADMEandINSTALLYou could also be interested by libcurl
Notice that the GPL license requires more or less that you publish your patch (in source form) if you redistribute your patched version of your improved
wgetsoftware binary