homebrew-setup:在非默认位置设置Homebrew

时间:2021-04-17 01:19:54
【文件属性】:
文件名称:homebrew-setup:在非默认位置设置Homebrew
文件大小:351KB
文件格式:ZIP
更新时间:2021-04-17 01:19:54
Python 设置自制程序(在非默认位置) 我喜欢Homebrew,但是我不喜欢它的维护者将/usr/local作为普通用户使用,从而干扰了Unix世界中长达一年的最佳实践。 相反,我想将它安装在另一个位置(可能属于普通用户),例如/opt/brew 。 这需要稍有不同的安装过程,但是之后,尽管brew --prefix目录不同,但大多数事情仍可以正常进行。 设置路径 显然, /opt/brew/bin必须在PATH中。 为此,请使用sudo编辑文件/etc/paths并插入/opt/brew/bin 。 就我而言,生成的/etc/paths是: /opt/brew/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin 请注意,现在omebrew中的可执行文件优先于所有其他可执行文件,包括/usr/local/bin安装的可执行文件。 最好仅在/usr/
【文件预览】:
homebrew-setup-master
----install-shell-init.sh(756B)
----install-python-packages.sh(3KB)
----reinstall-python-packages.sh(4KB)
----install-r-packages.R(6KB)
----python()
--------python-requirements-2.7.txt(4KB)
--------dot.jupyter()
--------python-requirements-3.x.txt(1KB)
----virtualenvs()
--------predeactivate(119B)
--------postmkvirtualenv(596B)
--------postactivate(517B)
----recompile-r-packages.R(7KB)
----R()
--------r-requirements.txt(1KB)
--------ROracle_1.3-2.tar.gz(313KB)
----bash()
--------dot.profile.d()
--------dot.profile(648B)
--------dot.bashrc(856B)
--------dot.bash_profile(689B)
--------dot.bashrc.d()
----README.md(8KB)
----homebrew()
--------Brewfile(11KB)
--------brew-prefix.lib.pkgconfig.proj.pc(347B)

网友评论