Skip to content

Make it possible to install on Linux too #1247

Open
@o-l-a-v

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions