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?
Solution:Jump to solution
To fix this. Make a directory called .linuxbrew and then move everything underneath that directory
16 Replies
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 worksdid you install brew via the ujust?
ujust --choose
and look for brewIt 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
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.
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 VMEverything 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
Do I actually need to run
ujust brew
I didn't think that was needed and haven't run it yet.Is the the file /etc/profile.d/brew.sh in place?
Yup. It is looking for
/home/linuxbrew/.linuxbrew
though. I don't have that nested directoryOh I see.
Solution
To fix this. Make a directory called .linuxbrew and then move everything underneath that directory
Yup that did the trick
Installed a package too. Everything looks good
I think I know how this happened.
Yup there is a bug, fresh install on a vm and .linuxbrew missing, and works if I move the content to the .linuxbrew folder
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...
Thanks M2 👍 and wow the fix is already merged in.