More recent version of wget
Hello All,
I'm troubleshooting a custom application that uses wget and openssl for some behind the scenes file transfers.
The most recent version of wget available via RH sources is 1.14. The current version of wget in the rest of the Linux world is 1.19. Some other Linux variants running newer version of wget than 1.14 aren't having the same problems I am having.
I don't know for sure that wget is the issue, but would like to try a newer version to either confirm or rule it out. I'm having a surprisingly hard time finding a newer non-RHEL version of wget in rpm format, that doesn't need to be compiled from source code.
By any chance does anyone know where to find one?
PG
Responses
If you wanted to try the latest upstream, you'd need to get the source and compile it: https://www.gnu.org/software/wget/
It didn't seem to have any strange build dependencies.
Just make sure you don't make install as that will overwrite the system's wget.
$ ./configure
$ make
$ cd src
$ ./wget --version | head -1
GNU Wget 1.19.1 built on linux-gnu.
I think the cleaner way to compile from upstream is to grab the source rpm from Red Hat, and replace the tarball with the upstream version.
This approach generally only requires a couple of minor modifications to the spec file and you will get a clean rpm to install which is then tracked in the rpmdb and easy to remove/downgrade if you feel the need.
I actually set this up as an exercise for a new admin after reading this thread.. it's a good learning exercise for anyone new to using Red Hat / RPM as it involves:
- fetching tarball from upstream projects
- locating source RPM files in RHN
- configuring RPM build environment
- configuring/updating RPM spec file
- fetching build requirements (including one from 'optional' channel)
- troubleshooting compiler issues
Although I don't suggest doing this on production systems as it's taking you away from a supported state :)
Paul,
Red Hat does backport fixes into their source trees without necessarily modifying the upstream version string. To see changes that went into a Red Hat package, you can do the following:
rpm -q --changelog wget
If there is something that doesn't work for you, and you have a Standard or better subscription, feel free to open a case at Red Hat to report your problem. If you report that the problem was fixed by the upstream version, that can speed the process of getting it fixed.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
