{"id":24185353,"url":"https://github.com/tschf/odl","last_synced_at":"2025-08-30T02:04:23.613Z","repository":{"id":57522665,"uuid":"76013242","full_name":"tschf/odl","owner":"tschf","description":"Oracle download utility","archived":false,"fork":false,"pushed_at":"2018-02-03T01:01:24.000Z","size":76,"stargazers_count":15,"open_issues_count":2,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-04T00:23:59.883Z","etag":null,"topics":["command-line","oracle","otn"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tschf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-09T07:40:39.000Z","updated_at":"2023-07-25T14:05:59.000Z","dependencies_parsed_at":"2022-08-28T16:51:32.447Z","dependency_job_id":null,"html_url":"https://github.com/tschf/odl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tschf/odl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fodl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fodl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fodl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fodl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschf","download_url":"https://codeload.github.com/tschf/odl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschf%2Fodl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272793018,"owners_count":24993830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","oracle","otn"],"created_at":"2025-01-13T11:19:53.839Z","updated_at":"2025-08-30T02:04:23.447Z","avatar_url":"https://github.com/tschf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odl (Oracle Download Utility)\n\n**Program Status:** Working, but Oracle SSO had a couple of changes in the last few weeks. Monitoring. See issue #28\n\n[![build status](https://travis-ci.org/tschf/odl.svg?branch=master)](https://travis-ci.org/tschf/odl)\n\nAutomating tests can be a pain, I'm hoping this utility will provide developers with a quick and easy way to fetch Oracle media files.\n\nThe goal isn't to bypass the OTN license agreement, or not to log in - the download will not work if you do not provide valid OTN authentication credentials. There are two mechanisms for the username. Pass in the flag: -username \u0026lt;username\u0026gt; to the program; set an environment variable, `OTN_USERNAME`. The password has three mechanisms. Pass in the flag -password; set an environment variable, `OTN_PASSWORD`; Enter the password at run time, when prompted.\n\n## Install\n\nTo grab the latest build, assuming you have `golang` installed, run:\n\n```\ngo get github.com/tschf/odl\n```\n\nThen, so long as `$GOPATH/bin` is in your PATH, you should be able to run `odl`.\n\nOr, grab the latest release: [https://github.com/tschf/odl/releases](https://github.com/tschf/odl/releases), which includes binaries for OSX, Windows and Linux, for 32 and 64-bit architecture's. Note, the compiled binaries may not include the latest features from source.\n\n## Supported software\n\n| Component                  | Version       | OS                           | Arch    | Lang  |\n| ---                        | ---           | ---                          | ---     | ---   |\n| apex                       | 4.2 - 5.1     | na                           | na      | na,en |\n| db                         | 11gXE         | windows                      | x64     | na    |\n| db                         | 11gXE         | linux                        | x86,x64 | na    |\n| db                         | 12.1.0.2.0EE  | linux,windows                | x64     | na    |\n| db                         | 12.1.0.2.0SE2 | linux,windows                | x64     | na    |\n| db                         | 12.2.0.1.0    | linux                        | x64     | na    |\n| instantclient-basic        | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-basic        | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-basic        | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-basic        | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-basic-lite   | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-basic-lite   | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-basic-lite   | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-basic-lite   | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-jdbc         | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-jdbc         | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-jdbc         | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-jdbc         | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-odbc         | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-odbc         | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-odbc         | 11.2.0.4.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-odbc         | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-precompiler  | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-precompiler  | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-precompiler  | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-sdk          | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-sdk          | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-sdk          | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-sdk          | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-sqlplus      | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-sqlplus      | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-sqlplus      | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-sqlplus      | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-wrc          | 12.2.0.1.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| instantclient-wrc          | 12.1.0.2.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-wrc          | 11.2.0.4.0    | linux,linux-rpm,windows,osx  | x64,x86 | na    |\n| instantclient-wrc          | 11.1.0.7.0    | linux,linux-rpm,windows      | x64,x86 | na    |\n| java-jdk                   | 8             | linux,windows                | x64,x86 | na    |\n| java-jdk                   | 8             | osx                          | x64     | na    |\n| java-jre                   | 8             | linux,windows                | x64,x86 | na    |\n| java-jre                   | 8             | osx                          | x64     | na    |\n| ords                       | 3.0 - 3.0.9   | na                           | na      | na    |\n| sqlcl                      | 17.2          | na                           | na      | na    |\n| sqlcl                      | 4.2           | na                           | na      | na    |\n| sqldev                     | 4.1           | linux,windows,osx            | na      | na    |\n| sqldev-jdk                 | 4.1           | windows                      | x64     | na    |\n| sqldev                     | 4.2           | linux,windows,osx            | na      | na    |\n| sqldev-jdk                 | 4.2           | windows                      | x64     | na    |\n\n## Usage\n\nEach column in the table above represents an argument. e.g. to download Oracle 11gXE, you would run:\n\n```bash\nodl --component db --version 11gXE --os linux --arch x64\n```\n\nnotes:\n\n* Instant client 11.1.0.7.0 not available for OS X\n* No ODBC for 11.2.0.4.0 on OS X\n* No ODBC for Linux x64 on 11.1.0.7.0\n* No JDK/JRE for OSX 32-bit\n\n```bash\ntrent@birroth:/tmp/xe$ odl --help\nUsage of odl:\n  -accept-license\n    \tSpecify whether or not you accept the OTN license agreement for the nominated software.\n  -arch value\n    \tSpecify the desired architecture of the software. Should be \"x86\", \"x64\", or \"na\" (default na)\n  -component string\n    \tSpecify the component to grab.\n  -lang string\n    \tSpecify the language of the software. Should be \"en\" or \"na\" (default \"na\")\n  -os string\n    \tSpecify the desired platform of the software. Should be \"linux\" or \"windows\" (default \"linux\")\n  -password string\n    \tSpecify the password that corresponds to your OTN account. Alternatively, set the environment variable OTN_PASSWORD.\n  -username string\n    \tSpecify the user account that will be logging in and accepting the license agreement. Alternatively, set the environment variable OTN_USERNAME.\n  -version string\n    \tSpecify the software version.\ntrent@birroth:/tmp/xe$ odl --component db --os linux --version 11gXE --arch x64 --accept-license\nBeginning download process for db 11gXE\noracle-xe-11.2.0-1.0.x86_64.rpm.zip: 301.26 MB / 301.26 MB [==============================] 100.00% 5m30s\nDownload complete.\n```\n\n## Installing golang on Linux\n\nTo install golang as part of your build process you can use the following snippet:\n```bash\n#!/bin/bash\nset -ev\n\nGO_FILE=go1.8.3.linux-amd64.tar.gz\n\n# https://golang.org/doc/install\ncurl -O \"https://storage.googleapis.com/golang/${GO_FILE}\"\nsudo tar -C /usr/local -xzf ${GO_FILE}\nrm ${GO_FILE}\nexport GOPATH=$HOME/go\nexport PATH=$PATH:/usr/local/go/bin\nexport PATH=$PATH:${GOPATH}/bin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschf%2Fodl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschf%2Fodl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschf%2Fodl/lists"}