20100204 use wget to download oracle patches directly to the server - plembo/onemoretech GitHub Wiki

title: Use wget to download Oracle patches directly to the server link: https://onemoretech.wordpress.com/2010/02/04/use-wget-to-download-oracle-patches-directly-to-the-server/ author: lembobro description: post_id: 196 created: 2010/02/04 20:30:35 created_gmt: 2010/02/04 20:30:35 comment_status: open post_name: use-wget-to-download-oracle-patches-directly-to-the-server status: publish post_type: post

Use wget to download Oracle patches directly to the server

My colleague Mike Zeece found an article on Michael Brown’s blog that describes how to do this.

Since Oracle went to their horrendous Flash-centric support app getting the bits onto your servers usually involves downloading to a desktop first (because real servers don’t run Flash enabled web browsers) and then wasting additional time sftp-ing them over to the target server. A real pain, and not what your average sysadmin gets paid for.

Basically the trick is to grab the download URL from the source for the button that Oracle Support presents when you finally get to the patch detail page, and then to supply your Oracle credentials to authenticate the wget session (this last step was what I was missing when I tried this recently).

Here’s the syntax, simplified:

wget http-user=[username] http-password=[password] output-document=[fullpathforfile] [Full download URL goes here]

That URL is going to be way long, so using “”’s to organize those first couple of lines is probably a good idea.

Here’s Mr. Brown’s example:

wget [email protected] http-passwd=yeah_right output-document=p6890831_111070_Linux-x86.zip http://updates.oracle.com/ARULink/Download/process_form/ p6890831_111070_Linux-x86.zip?file_id=25070608&aru=10498637 &userid=ml-mlbrown&[email protected]&patch_password= &patch_file=p6890831_111070_Linux-x86.zip

Copyright 2004-2019 Phil Lembo