1. Using chrome, open http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html
  2. Check Accept License Agreement
  3. Click Oracle Database Express Edition 11g Release 2 for Linux x64.
  4. You may need to login to oracle if you have not logged in yet.
  5. After logging in, dialog where to save the file will popup. Click cancel because our goal is to download via commandline.
  6. Perform steps 1, 2 and 3 again.
  7. Click cancel
  8. Using chrome developer, copy the cookie string of edelivery url. cookie
  9. Open commandline and enter the command
    curl -L --header "Cookie: {paste_cookie_here}" http://download.oracle.com/otn/linux/oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip -o oracle-xe-11.2.0-1.0.x86_64.rpm.zip

Theoritically, this should work on all oracle apps.

Advertisements