Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install homebrew #235

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Install homebrew #235

wants to merge 6 commits into from

Conversation

enolfc
Copy link
Contributor

@enolfc enolfc commented Jan 27, 2025

Summary


Related issue :

@enolfc enolfc requested a review from andrea-manzi January 28, 2025 16:04
@enolfc
Copy link
Contributor Author

enolfc commented Jan 28, 2025

Still needs testing

Copy link
Contributor

@andrea-manzi andrea-manzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to build it locally and do some tests,

Brew is installed under the linuxbrew home

(base) jovyan@13a04e24b828:~$ ls -la /home/linuxbrew/.linuxbrew/bin/brew 
lrwxrwxrwx 1 jovyan users 20 Jan 28 21:20 /home/linuxbrew/.linuxbrew/bin/brew -> ../Homebrew/bin/brew

but i can use it without problems and indeed i installed ansible

(base) jovyan@13a04e24b828:~$ ls -la /home/linuxbrew/.linuxbrew/bin/ansible
lrwxrwxrwx 1 jovyan users 38 Jan 28 21:31 /home/linuxbrew/.linuxbrew/bin/ansible -> ../Cellar/ansible/11.1.0_1/bin/ansible

I guess we can just document that

@andrea-manzi
Copy link
Contributor

mmm, but if packages are installed under the linuxbrew user home then they are not persisted

@enolfc
Copy link
Contributor Author

enolfc commented Jan 29, 2025

mmm, but if packages are installed under the linuxbrew user home then they are not persisted

yes, and homebrew is explicit about not supporting any other location :(
we can persist the linuxbrew home as well (making it a link from some location in $HOME of jovyan?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants