Skip to content

Add cross-platform Linux native package artifact for cask - #23912

Closed
ghost wants to merge 1 commit into
mainfrom
unknown repository
Closed

Add cross-platform Linux native package artifact for cask#23912
ghost wants to merge 1 commit into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Sep 9, 2026

Copy link
Copy Markdown
  • Have you followed our Contributing guidelines?
  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do?
  • Have you explained why you would like these changes included?
  • For bug fixes, have you given step-by-step brew commands to reproduce the bug?
  • Have you written new tests?
  • Have you successfully run brew lgtm locally?

  • I did not use AI/LLM to create this PR.

Summary

Adds a new package cask artifact that installs native Linux packages (deb, rpm, pacman, apk) using the appropriate system package manager for each distro. The artifact auto-detects the package format by file extension and queries the package manager for the real installed package name during uninstall.

Why

Homebrew on Linux currently supports app_image and binaries, but not native distribution packages. Many Linux apps are only distributed as .deb, .rpm, .pkg.tar.*, or .apk files. This artifact allows cask definitions to install those packages. It queries the package manager for the actual installed package name rather than parsing the filename, which is more reliable.

Testing

Tested on Fedora 44 with rpm install and uninstall of the rpmfusion-free-release package.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Thanks for your pull request. This has been closed because it appears to be missing the pull request template, perhaps because this was written by an AI not a human. We require humans to read and fill in these templates.

Please edit this pull request to fill in the current pull request template. This workflow will reopen this pull request automatically once the template is complete. Do not open a new pull request for this.

@github-actions github-actions Bot closed this Sep 9, 2026
@Homebrew Homebrew temporarily blocked ghost Sep 9, 2026
@github-actions github-actions Bot reopened this Sep 9, 2026
@github-actions github-actions Bot closed this Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant