Comments (9)
Homebrew is great.
My personal preference is MacPorts because I prefer to run natively compiled binaries, especially for computationally intensive applications. I have observed significant performance differences between native and pre-built binaries, so I almost always go native.
But everything here will work with homebrew installs too.
My recommendation would be to choose the option that best suits your setup and stick with it. And if you have real concerns about sudo security, this would be a much bigger issue for you than homebrew versus macports.
from macos-fortress.
I wouldn't call myself a developer, but I do dabble enough to know about package managers and that I prefer Homebrew to MacPorts. I know you said that everything here will work with brew, but where in the installation process is it invoked and how?
from macos-fortress.
where in the installation process is it invoked and how?
readme-and-install.sh. I'm not a brew expert, but it's a simply a matter if replacing port install
with brew install
, and replacing the necessary install directories with the ones that brew install
. Macports goes in /opt/local
. Not sure about brew.
from macos-fortress.
Homebrew allows for local compilation as well. You can simply export HOMEBREW_BUILD_FROM_SOURCE
(set it to any value).
from macos-fortress.
Thanks.
It should not take much work or time to fork this repo and edit readme-and-install.sh to use brew
rather than port
.
The only reason I haven’t tackled this myself are that brew
and port
don’t play nicely together on the same box, and I’m not familiar with homebrew package install specifics.
All the work in this repo is in the configuration files, which will be the same for either package manager.
from macos-fortress.
Any updates for brew?
from macos-fortress.
Homebrew may not have the same tool versions, and some not at all. You can get the missing ones with pip3
, but the version compatibility is unclear to me.
After getting the complete history for homebrew with ..
git -C "$(brew --repo homebrew/core)" fetch --unshallow
.. and searching homebrew for the tools to install in the script's line..
$SUDO $PORT install wget gnupg p7zip pcre squid3 privoxy nginx nmap python36 py36-scikit-learn py36-matplotlib py36-numpy
with
brew info wget gnupg p7zip pcre squid3 privoxy nginx nmap python36 py36-scikit-learn py36-matplotlib py36-numpy | grep Error
we find the missing:
Error: No available formula with the name "squid3"
Error: No previously deleted formula found.
Error: No available formula with the name "python36"
Error: No previously deleted formula found.
Error: No available formula with the name "py36-scikit-learn"
Error: No previously deleted formula found.
Error: No available formula with the name "py36-matplotlib"
Error: No previously deleted formula found.
Error: No available formula with the name "py36-numpy"
Error: No previously deleted formula found.
Disregarding versions, we can get from homebrew:
squid: stable 3.5.27
python: stable 3.6.5
numpy: stable 1.14.3
and from pip3:
scikit-learn (0.19.1)
matplotlib (2.2.2)
After replacing Macports with Homebrew and Pip3 we also need fixing the differing installation and symlink directories.
Who's gonna try?
from macos-fortress.
@noyannus @essandess have a look at my PR (#6) - it should do the trick though tbh I don't have a VM to test this on.
from macos-fortress.
I’ve looked more into Homebrew and see that its security model is incompatible with this repo. I cannot personally recommend Homebrew’s approach, especially for a repo that does its best to keep things locked down.
All of the tools in this repo should be installed and controlled securely at the system level with sudo
. Homebrew avoids sudo
by taking over permissions in /usr/local
. This won’t work here.
For more details on the issues that can arise with Homebrew’s approach, I agree with much of the criticism in this post: https://saagarjha.com/blog/2019/04/26/thoughts-on-macos-package-managers/.
from macos-fortress.
Related Issues (10)
- Issues? HOT 3
- Install fails HOT 2
- [feature request] arch arm64 HOT 1
- p.p HOT 6
- Issues with easylist.script.* HOT 2
- Uninstall/revert script HOT 23
- Installation needs several manual fixes HOT 2
- Enhancement? Additional host blocking list HOT 3
- is "normal" version of this possible ? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macos-fortress.