Homebrew on Kalpa

Just something I’m playing with, as an alternative to using distroboxes for everything on Kalpa:

2 Likes

In your post you mention that Flatpak doesn’t like Homebrew being installed the normal way. I’m running Aeon and installed Homebrew the normal way and haven’t experienced any issues thus far, but what should I be concerned about potentially happening?

Ok … probably a stupid question but does Homebrew do anything that Rustup doesn’t? I used Rustup to compile a firefox fork (Floorp) … and Rustup is available in the repos …

Yup … stupid question … I thought it was a compiler/toolchain thing … not repos … sorry

I don’t know how often it happens, but with the eval statement just in your ~/.bashrc in all circumstances, anytime the shell is initialized, it’s going to set that path, and you can run into issues where the system is preferring your brew binaries, as opposed to the system ones.

Doing it this way, the eval statement is only loaded when you’re opening a terminal emulator, and avoids that issue.

If you happen to be using flatpaks that don’t actually call any system binaries that might be duplicated in your brew installation, it’s entirely possible that you’ve not actually run into the issue. (I actually never ran into the issue during my testing, but one of the Universal Blue developers pointed out the issue, so I just stole what they’re doing, as they’ve been shipping homebrew as part of their offerings for a while and have more eyes on it)

1 Like

Never thought of that, and it may not actually impact me as I’m not a developer but good to know, thank you.

Wow Shawn!
I followed the guide and tried to install and uninstall the hello program several times. I think it works.

I tried to install Virtualbox
brew install --cask virtualbox

but I got an error
brew install --cask virtualbox
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/ab1b196756af28c5aa190d9e39bfa5f14ebbc3ca/Casks/v/virtualbox.rb
########################################### ############################################################################################################### 100.0%
Error: Cask ‘virtualbox’ definition is invalid: invalid ‘sha256’ value: nil

and an error with virt-manager

luca@Casa:~> brew install virt-manager
==> Downloading https://ghcr.io/v2/homebrew/core/virt-manager/manifests/5.0.0
############################################################################################################################################################################################################## 100.0%
virt-manager: macOS is required for this software.
Error: virt-manager: An unsatisfied requirement failed this build.

PS. What do you think about implementing appimage?

AppImage isn’t ever going to be a supported format in Kalpa. Unless some things seriously change.

1 Like

GUI apps seem to be exclusive to macOS, while some CLI apps are also available for Linux.

1 Like