Brew on image help

I've been following the work to put brew directly on the image and wanted to try it out. It looks like it's been merged into Bazzite and I'm on the latest image, but I don't have the brew command available. I see that. It looks like brew should've been created under /home/linuxbrew/.linuxbrew, but I don't have that. Am I missing a step?
No description
No description
No description
Solution:
To fix this. Make a directory called .linuxbrew and then move everything underneath that directory
Jump to solution
16 Replies
wolfyreload
wolfyreload8mo ago
The Bazzite github build takes about 30 minutes to build and update the image. I think that you were probably too quick to try it. Try another ujust update and see if that works
Aru
Aru8mo ago
did you install brew via the ujust? ujust --choose and look for brew
wolfyreload
wolfyreload8mo ago
It looks like homebrew is now baked into the Bazzite image (as of the main branch 2 hours ago) I might be misreading the commits though
ArchesF5
ArchesF5OP8mo ago
I haven’t run this yet because I thought brew was supposed to be installed by default with the latest update. But I do still see this option in ujust so I’m a little confused. I checked for new bazzite updates again and I’m still on the same version. I’m pretty sure I’m on the latest update because I have the new systemd brew services.
wolfyreload
wolfyreload8mo ago
If you update you should have an update for today after testing the new image, it looks like it creates the /home/linuxbrew/.linuxbrew, but it looks like you still need to run ujust brew, it appears that brew just has some additional preconfig. I'll need to double check in my VM
M2
M28mo ago
Everything should be in place. With bash and fish the brew shellenv command will be run for interactive shells. Can you post what is your PATH? And which shell you are using
ArchesF5
ArchesF5OP8mo ago
Do I actually need to run ujust brew I didn't think that was needed and haven't run it yet.
M2
M28mo ago
Is the the file /etc/profile.d/brew.sh in place?
ArchesF5
ArchesF5OP8mo ago
Yup. It is looking for /home/linuxbrew/.linuxbrew though. I don't have that nested directory
M2
M28mo ago
Oh I see.
Solution
M2
M28mo ago
To fix this. Make a directory called .linuxbrew and then move everything underneath that directory
ArchesF5
ArchesF5OP8mo ago
Yup that did the trick Installed a package too. Everything looks good
M2
M28mo ago
I think I know how this happened.
wolfyreload
wolfyreload8mo ago
Yup there is a bug, fresh install on a vm and .linuxbrew missing, and works if I move the content to the .linuxbrew folder
M2
M28mo ago
GitHub
fix: correct brew directory. by m2Giles · Pull Request #1140 · ublu...
Brew was being copied into the wrong directory. The directory /var/home/linuxbrew was missing and causing things to be copied to /var/home/linuxbrew and not /var/home/linuxbrew/.linuxbrew. This mak...
wolfyreload
wolfyreload8mo ago
Thanks M2 👍 and wow the fix is already merged in.
Want results from more Discord servers?
Add your server