Comments (13)
Hi, check out https://github.com/rpardini/adoptopenjdk-deb-installer
It's an effort to build Debian/Ubuntu installer packages via a generator that consumes the AdoptOpenJDK API. Ubuntu packages for testing are available at a Launchpad PPA already.
I would love to contribute this to AdoptOpenJDK if you're interested. Let me know...
from installer.
@tresf https://github.com/rpardini/adoptopenjdk-deb-installer is actually based on and credits webupd8team's work; it could be adequate if you're looking to migrate from those packages, since it does mostly the same stuff (eg config in /etc, bringing in fonts and all x11 deps, fulfilling default-jre
and others, etc). it does co-exist with oracle's, and the -set-default
variant of the packages helps to switch. you still need to restart java-using services manually though to use updated /usr/bin/java
alternative symlink.
from installer.
Closing as this is now complete! check out https://medium.com/adoptopenjdk/adoptopenjdk-rpm-and-deb-files-7003ba38144e for more info!
from installer.
I suggest you also add instructions on how to use the PPA at: https://adoptopenjdk.net/releases.html
from installer.
@tresf updated thanks :)
from installer.
@mauromol can you open an issue on openjdk-website?
from installer.
The link asks users to edit a sources.list
file, which is prone to user-error. Would you consider changing it to use something more like this?
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
... also, the article says to pipe the GPG to apt-key add -
, but most users won't be running a terminal as root. Would you consider piping it to sudo apt-key add -
? i.e.:
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
Note, sudo
(for systems configured with it) work from a user or root terminal. There's no disadvantage in placing it in the documentation unless targetting a system which comes with it disabled/not installed.
from installer.
It would be nice if the PPA were hosted on adoptopenjdk.net. I have no idea who jfrog.io is, nor their security practices. With tar.gz distribution I can check the SHA.
Or put another way: would AdoptOpenJDK be happy to create a GPG key, give the private key to @gdams, and publish the public key on adoptopenjdk.net?
from installer.
@rpardini That would be great - I see we're setting up a call to discuss. But in principle a PR here is welcome.
from installer.
webupd8team has a wrapper script they offer for the Oracle tarball. A similar approach might be a good starting point (instead of an all-inclusive .deb
). I've used webupd8team on many Ubuntu machines.
from installer.
@jefft Two of the three things you want are already the case today. The RPM packages and package indices are signed with our GPG key, George (as a TSC member) has it.
I don't see the advantage in the other things you want. You'd trade JFrog (plus AWS) with GitHub (plus AWS), because the website as well as the binary releases are hosted on GitHub. If we'd host Artifactory ourselves, you'd trade JFrog (plus AWS) with an overworked AdoptOpenJDK community member (me) and some cloud provider.
Besides, with the binary releases, you're worse off because the fingerprints aren't signed.
If you want to discuss this issue further, please open a new issue.
from installer.
Ubuntu's OpenJDK builds have some issues, which is why I want to use AdoptOpenJDK builds that work just fine. I need it as a build dependency on my own PPA. However this seems to be impossible at the moment.
Today we have two things:
- the repo on bintray containing the actual packages
- @rpardini's PPA giving us installers that download those pre-built packages
Neither of which can be used as an upstream dependency during PPA builds, because PPA builds a) can only depend on packages in Ubuntu's main repo or other PPAs and b) have to run completely isolated without the option to download stuff (which is why @rpardini's solution doesn't work for me).
Therefore I'd like to know if (regardless of any plans to do so) it is even technically possible to get AdoptOpenJDK to be built on the PPA build system.
from installer.
@overheadhunter Maintainer of Linux packages here. Happy to talk. Could you please open a new issue? You can copy & paste your text. Or, if you want, you can include the answer to the question that I have right now: Is it possible for us the upload the pre-built packages to a PPA?
from installer.
Related Issues (20)
- Improve Debian arm32 installer creation by moving to arm32 container on 64 bit host. HOT 1
- Adoptium Temurin deb repos appear to be broken due to Javascript requirement. HOT 2
- apt-key command is deprecated in Ubuntu 22.04 HOT 1
- MSI-Installer: Text is cut off and not readable HOT 9
- Artifactory Certificate Validation Failed HOT 13
- Add installer files for JDK21
- eclipse-notarize.sh fails and exits with no info ...? HOT 1
- add support for fedora39 installer HOT 3
- [MSI-Installers] JavaSoft keys not removed at uninstall HOT 8
- All debian installer checks fail due to Ubuntu:Kinetic EoL HOT 2
- Error: Unable to find a match: Adoptium HOT 3
- temurin-11-jre fails to install on Rocky 8 HOT 2
- Installers: Upload fails where file exists for alpine
- Unable to install packages to Ubuntu HOT 5
- Missing Debian packages for latest 382 build of temurin-8-jdk HOT 2
- 443 when installing temurin11 HOT 8
- jenkins apline and debian build failures when using arch=all for arch != x86_64 HOT 8
- HTTP 501 when downloading files from Artifactory HOT 3
- Debian Bookworm repository for Temurin 21 not working HOT 57
- Ubuntu 20.04 ... Apt Upgrade Failed ... "Failed to fetch" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installer.