Homebrew not installed

Hello,

I thought bluefin would come with homebrew installed. However I get the error message:

pbeccard@rubicon:~$ brew
bash: brew: Kommando nicht gefunden.

Am I doing something wrong?

pbeccard@rubicon:~$ cat /etc/os-release 
NAME="Bluefin"
VERSION="41.20250209.1 (Silverblue)"
RELEASE_TYPE=stable
ID=bluefin
ID_LIKE="fedora"
VERSION_ID=41
VERSION_CODENAME="Archaeopteryx"
PLATFORM_ID="platform:f41"
PRETTY_NAME="Bluefin (Version: 41.20250209.1 / FROM Fedora Silverblue 41)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:universal-blue:bluefin:41"
DEFAULT_HOSTNAME="bluefin"
HOME_URL="https://projectbluefin.io"
DOCUMENTATION_URL="https://docs.projectbluefin.io"
SUPPORT_URL="https://github.com/ublue-os/bluefin/issues/"
BUG_REPORT_URL="https://github.com/ublue-os/bluefin/issues/"
SUPPORT_END=2025-12-15
VARIANT="Silverblue"
VARIANT_ID=bluefin
OSTREE_VERSION='41.20250209.1'
BUILD_ID="dd783ec"
IMAGE_ID="bluefin"
IMAGE_VERSION="41.20250209.1"

Hey,

have you tried running ujust bluefin-cli?

Brew is supposed to be installed ootb, this looks like an error during installation. cc @tulilirockz

This is a weird error that happens sometimes, I currently have no idea why that happens, but I’ve seen it happen with a few people, here is a workaround:

pkexec mkdir -p /var/home/linuxbrew/.linuxbrew
pkexec mv /var/home/linuxbrew/* /var/home/linuxbrew/.linuxbrew

This seems to happen because sometimes the tarball that we use to get brew installed just doesnt get generated properly and the brew setup service puts the homebrew files on the wrong place. This should move them to the right place.

I made a fix service in Bazzite when brew on disk was first made. Might want to steal that right now.

I’m not sure how related this may be but I had a similar error in a recent Bazzite install on a system. I blew past the admin config during the install and set up a new admin and it didn’t have access to some of the built in functions like brew and ujust commands. It was a fresh install so I just booted via usb and installed over that copy while setting up an admin profile during the install and that fixed the odd group/permission issues I was having.

If I choose enable:

Shell:	bash
Bling:	Disabled
Installing bling from Homebrew 🍻🍻🍻
/usr/libexec/ublue-bling: Zeile 39: brew: Kommando nicht gefunden.
Exiting...
Rerun script with ujust bluefin-cli

Here is the content of the directories:

pbeccard@rubicon:~$ ll /var/home/linuxbrew/.linuxbrew
insgesamt 0
drwxr-xr-x. 1 pbeccard pbeccard   8 25. Jul 2024  bin
drwxr-xr-x. 1 pbeccard pbeccard   0 25. Jul 2024  Caskroom
drwxr-xr-x. 1 pbeccard pbeccard   0 25. Jul 2024  Cellar
drwxr-xr-x. 1 pbeccard pbeccard  34 25. Jul 2024  etc
drwxr-xr-x. 1 pbeccard pbeccard   0 25. Jul 2024  Frameworks
drwxr-xr-x. 1 pbeccard pbeccard 388  7. Feb 22:11 Homebrew
drwxr-xr-x. 1 pbeccard pbeccard   0 25. Jul 2024  include
drwxr-xr-x. 1 pbeccard pbeccard  10  3. Okt 15:08 lib
drwxr-xr-x. 1 pbeccard pbeccard   0 25. Jul 2024  opt
drwxr-xr-x. 1 pbeccard pbeccard   0 25. Jul 2024  sbin
drwxr-xr-x. 1 pbeccard pbeccard  26 25. Jul 2024  share
drwxr-xr-x. 1 pbeccard pbeccard  16 25. Jul 2024  var
pbeccard@rubicon:~$ ll /var/home/linuxbrew/
insgesamt 0

Not sure a mv would help here.

So here is the run of the commands:

pbeccard@rubicon:~$ pkexec mkdir -p /var/home/linuxbrew/.linuxbrew
pbeccard@rubicon:~$ pkexec mv /var/home/linuxbrew/* /var/home/linuxbrew/.linuxbrew
/usr/bin/mv: der Aufruf von stat für '/var/home/linuxbrew/*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden