René's URL Explorer Experiment


Title: Install on Ubuntu with apt from a repository of our own · Issue #153 · openjavaformat/open-java-format · GitHub

Open Graph Title: Install on Ubuntu with apt from a repository of our own · Issue #153 · openjavaformat/open-java-format

X Title: Install on Ubuntu with apt from a repository of our own · Issue #153 · openjavaformat/open-java-format

Description: Why On Ubuntu the formatter is a download from the release page that goes onto the PATH by hand, and nothing says when a new version is out. Ubuntu users expect apt install and apt upgrade. google-java-format was asked for the same in go...

Open Graph Description: Why On Ubuntu the formatter is a download from the release page that goes onto the PATH by hand, and nothing says when a new version is out. Ubuntu users expect apt install and apt upgrade. google-...

X Description: Why On Ubuntu the formatter is a download from the release page that goes onto the PATH by hand, and nothing says when a new version is out. Ubuntu users expect apt install and apt upgrade. google-...

Opengraph URL: https://github.com/openjavaformat/open-java-format/issues/153

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Install on Ubuntu with apt from a repository of our own","articleBody":"### Why\n\nOn Ubuntu the formatter is a download from the release page that goes onto the `PATH` by hand, and nothing says when a new version is out. Ubuntu users expect `apt install` and `apt upgrade`. google-java-format was asked for the same in google/google-java-format#231; its maintainers did not take it on and offered to link a package made by someone else.\n\n### Proposal\n\n`.deb` packages for amd64 and arm64, made from the release's `open-java-format-linux-glibc_x86-64` and `open-java-format-linux-glibc_aarch64` and installing `/usr/bin/open-java-format`, in a signed apt repository of our own:\n\n```sh\nsudo install -d -m 0755 /etc/apt/keyrings\ncurl -fsSL https://apt.openjavaformat.dev/key.asc | sudo tee /etc/apt/keyrings/open-java-format.asc > /dev/null\necho \"deb [signed-by=/etc/apt/keyrings/open-java-format.asc] https://apt.openjavaformat.dev stable main\" \\\n  | sudo tee /etc/apt/sources.list.d/open-java-format.list\nsudo apt update\nsudo apt install open-java-format\n```\n\nFrom then on `apt upgrade` brings every release. The same lines work on Debian.\n\nHow it could work, in the shape of the Homebrew tap in #151:\n\n- A repository, `openjavaformat/apt`, published with GitHub Pages under `apt.openjavaformat.dev`.\n- An hourly workflow follows the latest release. It downloads the two Linux binaries, checks them against `checksums_sha256.txt`, builds the two packages with `dpkg-deb`, writes the indexes with `apt-ftparchive`, signs `InRelease` and `Release.gpg`, and deploys the result as a Pages artifact, so no binary lands in Git history.\n- The repository carries the latest version only. Older versions stay on the release page as plain binaries.\n\n### To decide\n\n- **The oldest supported release.** The Linux binaries are built on `ubuntu-latest`, today Ubuntu 24.04, and on `ubuntu-24.04-arm`, both with glibc 2.39. A program linked against glibc 2.34 or later needs at least 2.34 to run: that is the \"GLIBC_2.34 not found\" of google/google-java-format#1072, which google-java-format fixed by building on an older image. Read the real minimum off our binaries with `objdump -T` and declare it as `Depends: libc6 (>= …)`. Ubuntu 22.04 has glibc 2.35 and Debian 12 has 2.36; Ubuntu 20.04 has 2.31 and is past its standard support. When `ubuntu-latest` moves to the next LTS, the minimum moves with it, so `release.yml` should name the image.\n- **The signing key.** The key that signs the release files, or one of its own for the repository, which keeps the release key out of another repository's secrets.\n- **Hosting.** A GitHub Pages site may be up to 1 GB and has a soft limit of 100 GB of traffic a month. Two packages of one version are far below the first; the second matters only if apt becomes the main way to install.\n\n### Alternatives looked at\n\n- **A PPA on Launchpad.** Launchpad builds every package from a source upload, without network access. GraalVM is not in the Ubuntu archive, so the prebuilt binary would have to travel inside the source package, and a PPA serves Ubuntu only.\n- **Snap.** The Snap Store comes with Ubuntu and updates by itself, but a strictly confined snap sees only non-hidden files in the home directory and gets a `/tmp` of its own, so it could not format a checkout in `/workspace` or in a hidden directory. Classic confinement lifts that only after a manual review by the store.\n- **The Ubuntu and Debian archives.** A package there must build from source inside the distribution, against dependencies packaged there too. GraalVM is not packaged, and the jar would bring the formatter's whole dependency tree along. Out of reach for now.\n- **`.deb` files on the release page alone.** `sudo apt install ./open-java-format_\u003cversion>_amd64.deb` would work, but nothing would bring updates.\n- **Homebrew on Linux.** The formula of #151 covers Ubuntu users who already use Homebrew.\n\n### Done when\n\n- `sudo apt install open-java-format` installs the latest release on amd64 and arm64, on every supported Ubuntu LTS release from the oldest one decided above, and `open-java-format --version` prints it;\n- `apt upgrade` sees a new release within the hour, without a hand edit;\n- the [Command line](https://openjavaformat.dev/get-started/command-line/) page gets an apt section, and [About](https://openjavaformat.dev/about/#where-it-is-published) lists the repository.\n\n### Related\n\n- google/google-java-format#231 and google/google-java-format#1072\n- #151 for Homebrew, #152 for Windows\n","author":{"url":"https://github.com/abashev","@type":"Person","name":"abashev"},"datePublished":"2026-10-25T14:25:43Z","url":"https://github.com/openjavaformat/open-java-format/issues/153"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8b624c1d-9102-8072-32d7-3234c9958e69
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD70A:10F3E3:2D28F0:3B5A2A:6AFBB791
html-safe-nonce032bd2936cea33e21c64a81bce71991f8c3d1b9a264b85d877dd6384c6e7ed27
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzBBOjEwRjNFMzoyRDI4RjA6M0I1QTJBOjZBRkJCNzkxIiwidmlzaXRvcl9pZCI6IjI1NTUzNTI3ODM4MTMwNjQ1OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd75d4d7a772ee2ff14721220142b93ef8b2072da8e5f5394781095a5d70b96de
hovercard-subject-tagissue:6025502799
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/openjavaformat/open-java-format/153/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b6d815c13b0747ad53006c6b71838f646b411455cd0e96499e75334f21925d04/openjavaformat/open-java-format/issues/153
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b6d815c13b0747ad53006c6b71838f646b411455cd0e96499e75334f21925d04/openjavaformat/open-java-format/issues/153
og:image:altWhy On Ubuntu the formatter is a download from the release page that goes onto the PATH by hand, and nothing says when a new version is out. Ubuntu users expect apt install and apt upgrade. google-...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabashev
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
go-importgithub.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git
octolytics-dimension-user_id325177626
octolytics-dimension-user_loginopenjavaformat
octolytics-dimension-repository_id1288055459
octolytics-dimension-repository_nwoopenjavaformat/open-java-format
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id214273098
octolytics-dimension-repository_parent_nwopalantir/palantir-java-format
octolytics-dimension-repository_network_root_id214273098
octolytics-dimension-repository_network_root_nwopalantir/palantir-java-format
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/openjavaformat/open-java-format/issues/153#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F153
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F153
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=openjavaformat%2Fopen-java-format
Reloadhttps://github.com/openjavaformat/open-java-format/issues/153
Reloadhttps://github.com/openjavaformat/open-java-format/issues/153
Reloadhttps://github.com/openjavaformat/open-java-format/issues/153
openjavaformathttps://github.com/openjavaformat
open-java-formathttps://github.com/openjavaformat/open-java-format
Codehttps://github.com/openjavaformat/open-java-format
Issues30 (30)https://github.com/openjavaformat/open-java-format/issues
Pull requests5 (5)https://github.com/openjavaformat/open-java-format/pulls
Discussionshttps://github.com/openjavaformat/open-java-format/discussions
Actionshttps://github.com/openjavaformat/open-java-format/actions
Security and qualityhttps://github.com/openjavaformat/open-java-format/security
Insightshttps://github.com/openjavaformat/open-java-format/pulse
https://github.com/openjavaformat/open-java-format
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/153
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/153
Install on Ubuntu with apt from a repository of our ownhttps://github.com/openjavaformat/open-java-format/issues/153#top
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/abashev
abashevhttps://github.com/abashev
on Oct 25, 2026https://github.com/openjavaformat/open-java-format/issues/153#issue-6025502799
google/google-java-format#231https://github.com/google/google-java-format/issues/231
#151https://github.com/openjavaformat/open-java-format/issues/151
google-java-format_linux-x86-64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./google-java-format_linux-x86-64) google/google-java-format#1072https://github.com/google/google-java-format/issues/1072
Install with Homebrew from a tap of our own #151https://github.com/openjavaformat/open-java-format/issues/151
Command linehttps://openjavaformat.dev/get-started/command-line/
Abouthttps://openjavaformat.dev/about/#where-it-is-published
Request supporting apt google/google-java-format#231https://github.com/google/google-java-format/issues/231
google-java-format_linux-x86-64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./google-java-format_linux-x86-64) google/google-java-format#1072https://github.com/google/google-java-format/issues/1072
Install with Homebrew from a tap of our own #151https://github.com/openjavaformat/open-java-format/issues/151
Install on Windows with Scoop and winget #152https://github.com/openjavaformat/open-java-format/issues/152
abashevhttps://github.com/abashev
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Oct 25, 2026https://github.com/openjavaformat/open-java-format/issues/153#event-34186346664
Sign up for freehttps://github.com/signup?return_to=https://github.com/openjavaformat/open-java-format/issues/153
Sign in to commenthttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/153
enhancementNew feature or requesthttps://github.com/openjavaformat/open-java-format/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.