{"id":15069313,"url":"https://github.com/rpardini/adoptium-deb-installer","last_synced_at":"2025-07-19T23:02:46.112Z","repository":{"id":42358517,"uuid":"159012958","full_name":"rpardini/adoptium-deb-installer","owner":"rpardini","description":"Creates Ubuntu/Debian installer packages for Eclipse Adoptium using their API. Important: these are NOT official packages. JDK 8, 11, 17, 18 and 19, all multiarch, in both JRE and JDK flavors.","archived":false,"fork":false,"pushed_at":"2023-11-01T03:24:12.000Z","size":5795,"stargazers_count":59,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"adoptium","last_synced_at":"2025-04-10T18:03:03.966Z","etag":null,"topics":["adoptium","apt","debian","hotspot","java","jdk","jre","launchpad","ppa","ubuntu","webupd8"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpardini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-25T08:41:01.000Z","updated_at":"2025-01-10T20:59:03.000Z","dependencies_parsed_at":"2023-10-24T04:31:09.101Z","dependency_job_id":"08e1d04a-0e41-4f3e-b35e-d0ec558db619","html_url":"https://github.com/rpardini/adoptium-deb-installer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rpardini/adoptium-deb-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fadoptium-deb-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fadoptium-deb-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fadoptium-deb-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fadoptium-deb-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpardini","download_url":"https://codeload.github.com/rpardini/adoptium-deb-installer/tar.gz/refs/heads/adoptium","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fadoptium-deb-installer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266037426,"owners_count":23867505,"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","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":["adoptium","apt","debian","hotspot","java","jdk","jre","launchpad","ppa","ubuntu","webupd8"],"created_at":"2024-09-25T01:41:44.858Z","updated_at":"2025-07-19T23:02:46.037Z","avatar_url":"https://github.com/rpardini.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Debian/Ubuntu installer packages for Eclipse Adoptium\n\nThis uses the Eclipse Adoptium API to produce Ubuntu/Debian packages which download and install Eclipse Adoptium from\ntheir official releases.\n\n- Ubuntu: [ppa:rpardini/adoptium-installers](https://launchpad.net/~rpardini/+archive/ubuntu/adoptium-installers)\n  or see instructions below.\n- Debian: there's an APT repo hosted at GitHub Pages, see below for instructions.\n- The Debian instructions also work for Ubuntu if you'd rather avoid PPA's.\n\nUse these packages at your own risk. These are NOT official packages.\n\n## For Ubuntu:\n\n```bash\n[[ ! -f /usr/bin/add-apt-repository ]] \u0026\u0026 sudo apt-get -y install software-properties-common # Make sure 'add-apt-repository' is available\nsudo add-apt-repository --yes ppa:rpardini/adoptium-installers\nsudo apt-get install adoptium-17-installer # or 8, 11, etc; also adoptium-17-jdk-hotspot-installer-set-default\n```\n\n## For Debian:\n\n```bash\nsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1EAC8B7 # add the builder key\necho 'deb https://rpardini.github.io/adoptium-deb-installer stable main' \u003e /etc/apt/sources.list.d/rpardini-adoptium.list # add the package repo to sources \nsudo apt-get update # update from sources\nsudo apt-get install adoptium-17-installer # or 8, 11, etc; also adoptium-17-jdk-hotspot-installer-set-default\n```\n\n# For developers/builders\n\nThis repo produces **source** packages which are then uploaded to Launchpad, where they're built and hosted. The final\npackages produced are essentially just downloader scripts, and try to handle proxy usage, SHA256 verification,\n`update-alternatives` and `update-java-alternatives` as per `java-common` standards.\n\nA huge amount of the actual installer scripting was stolen from\n[Alin Andrei](https://launchpad.net/~webupd8team/+archive/ubuntu/java)'s webupd8 `oracle-java8-installer`\n-- all the update-alternatives, manpages, etc stuff is clearly in need of work. The proxy handling also needs to be\nconfirmed; a few of his provisions like using a custom `wgetrc` was kept, but a lot of cosmetic stuff like icons were\nremoved.\n\nDue to the way Launchpad works, a big part of this is calculating a single set/version from many possible JDK builds for\ndifferent architectures. It seems common that `aarch64` and/or `s390x` archs have different Eclipse Adoptium builds than\nother architectures, at least for Java 8 and Java 11. Update: Adoptium does not suffer so much from those.\n\nFor this reason (and also cause I'm a bit of a codegen freak) I implemented a Node.js script that\nconsumes [Eclipse Adoptium's releases API](https://api.adoptium.net/) and process sets of templates to produce final\nsource packages.\n\nAlso due to Launchpad's requirements, I build a lot of (otherwise identical) source packages for different\ndistributions/series (trusty, xenial, bionic, etc); please instruct me how to avoid this if you know.\n\n# Credits\n\n* Of course, [Eclipse Adoptium](https://adoptium.net/) for all of the actual amazing work, and for the API.\n* [Alin Andrei/webupd8](https://launchpad.net/~webupd8team/+archive/ubuntu/java) for the\n  original `oracle-jdk8-installer` from which I started this work\n* Launchpad for actually building on many architectures and hosting the whole thing for Ubuntu\n* GitHub for repo, Github Actions, and hosting the Debian repo with GitHub Pages. Please don't ban me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpardini%2Fadoptium-deb-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpardini%2Fadoptium-deb-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpardini%2Fadoptium-deb-installer/lists"}