Thursday, November 22, 2018

Quickly Download Oracle Software From My Oracle Support

In order to quickly download Oracle software from My Oracle Support (MOS) to your server or local host, you must have curl or wget installed.

Check these by using:

[oracle@test working]$ which curl
/usr/bin/curl
[oracle@test working]$ which wget
/usr/bin/wget




Now use following command from the operating system prompt to download orachk, opatch, any Oracle patch or any other software by using your MOS credentials.

Right click on the software link and copy the link e.g. For orachk , this is the link:

https://updates.oracle.com/Orion/Services/download/orachk_beta.zip?aru=21110110&patch_file=orachk_beta.zip

Now use the above link in following command as follows:

wget --http-user=<MOS User Name> --ask-password "<File URL>" -O <File Name>

Example:

wget --http-user=test@mos.com --ask-password "https://updates.oracle.com/Orion/Services/download/orachk_beta.zip?aru=21110110" -O orachk_beta.zip

Hope that helps.