Homebrew-Tap icon indicating copy to clipboard operation
Homebrew-Tap copied to clipboard

Make it possible to install on Linux too

Open o-l-a-v opened this issue 1 year ago • 1 comments

Summary of the new feature / enhancement

Context

Homebrew can be installed on Linux:

But one can't install PowerShell with it.

bnt@ubnt-vm:~$ brew install powershell/tap/powershell
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Fetching powershell/tap/powershell
==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-osx-x64.tar.gz
Already downloaded: /home/ubnt/.cache/Homebrew/downloads/46b544647fca473e958b7a620d8e6fa047670193287682d7619a680181bc7501--powershell-7.4.2-osx-x64.tar.gz
==> Installing powershell from powershell/tap
Error: The following formula cannot be installed from bottle and must be
built from source.
  powershell
Install Clang or run `brew install gcc`.
ubnt@ubnt-vm:~$ 

This was on an Ubuntu 24.04 test VM, GCC was installed. Download URL clearly points to the Mac distribution.

Feature request

Allow installing PowerShell with Brew on Linux too.

Proposed technical implementation details (optional)

No response

o-l-a-v avatar May 29 '24 14:05 o-l-a-v

I would also like to see this implemented

McPhale avatar Apr 04 '25 23:04 McPhale