-
Notifications
You must be signed in to change notification settings - Fork 33
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
Don't install directly to /usr/local #10
Comments
Agree, that the next thing we should try to do. |
I just found installed kde apps cannot be uninstalled because they are not installed to their Cellar prefixes, can we install all kde libraries and apps to a specific fomula's prefix like /usr/local/Cellar/kde_base ? Then if the user wants to uninstall all the kde stuff, just brew uninstall kde_base. now eveything is installed to /usr/local, it's difficult to pick those files from kde and delete them manually. |
Besides a one-shot command to uninstall all KDE apps, are there any downsides from following homebrew conventions and installing them to their cellar prefixes? |
kbuildsycoca currently don't support many prefixes linked to a kde root dir. That's the only reason why all kde stuff removed from homebrew. If we can fix kbuildsycoca that's the best option. |
Maybe I don't understand something, but why can't kde root dir be homebrew's prefix which contains proper symlinks and structure? Also KDEDIRS and KDESYCOCA env vars could be solution. |
I just changed kdedir to /usr/local/kde4. I'm not sure why the KDEDIRS solution is not used in the past but I'll do some experiment about it. |
My change caused some environment variable issue. After |
launchd variables works for me like this: dant3@Dant3-MacBook:~> cat /etc/launchd.conf
setenv M2_HOME /Users/dant3/.homebrew/Cellar/maven/3.1.1/libexec
setenv ANDROID_HOME /Users/dant3/Tools/android-sdk They are accessible from all apps launched with finder. Note that this file is readed only launchd start, and I didn't found a way to restart launchd without restarting system, so you most likely have to reboot in order to changes take effect. Apple claims that future versions of launchd will also use ~/.launchd.conf for per-user settings but it's not the case atm. |
Currently, KDE libs are installed directly to
/usr/local
(#8 (comment)).homebrew discourages this (see
brew doctor
output).The text was updated successfully, but these errors were encountered: