A place for Unix Thoughts and Ideas

Downloading Solaris images from Oracle using wget

I came across this in a post by Steve Scargall in the Oracle forums , this Post is a rehash of his solution.

I recently needed to download the Solaris 11 repository image for seeding a new auto install server.

Oracle provides a wget script for downloading their patches, However Oracle’s OTN doesn’t allow you to login via wget/curl, which means that oracle provided scripts are of no use.

Transferring it locally and uploading over a cable modem is no solution either.

The trick is to authenticate to OTN and then export the cookie. Then you can use that cookie to download the files.

-wget 1.8+
-System must be able to ping download.oracle.com
-Firefox and the Export Cookies plugin (https://addons.mozilla.org/en-US/firefox/addon/export-cookies/)


1. Install the Export Cookies plugin and restart Firefox
2. Go to the appropriate Oracle download and signin throihgh  and get the URL from the page and let firefox start the download. From the Download window right click and “Copy the download link” and then cancel the download.
3. Export the cookies through the Firefox tools menu.
4. scp the cookies.txt file to your remote server.
5. Download using wget.

Note: When you paste the URL, you can strip off the authparm info


wget --cookies=on --load-cookies=cookies.txt --proxy=off --keep-session-cookies --no-check-certificate https://updates.oracle.com/patch_cluster/10_Recommended.zip


wget --cookies=on --load-cookies=cookies.txt --proxy=off --keep-session-cookies --no-check-certificate http://download.oracle.com/otn/solaris/11/sol-11-1111-text-sparc.iso


wget --cookies=on --load-cookies=cookies.txt --proxy=off --keep-session-cookies --no-check-certificate http://download.oracle.com/otn/solaris/11/sol-11-1111-repo-full.iso-a
wget --cookies=on --load-cookies=cookies.txt --proxy=off --keep-session-cookies --no-check-certificate http://download.oracle.com/otn/solaris/11/sol-11-1111-repo-full.iso-b
After that you can cat/extract and enjoy your files.

2 responses to “Downloading Solaris images from Oracle using wget

  1. softball pitching July 2, 2013 at 7:12 pm

    Hello! I could have sworn I’ve visited your blog before but after going through a few of the posts I realized it’s new to me.

    Nonetheless, I’m definitely happy I discovered it and I’ll
    be book-marking it and checking back regularly!

  2. Online Casinos July 27, 2013 at 8:12 pm

    Spot on with this write-up, I actually feel this website needs
    a lot more attention. I’ll probably be back again to read more, thanks for the advice!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: