使用 MacPorts 或 Mac OS X 二进制包安装 MySQL?

发布于 2024-07-11 20:08:51 字数 193 浏览 4 评论 0原文

使用其中一种比另一种有什么优势吗? 我应该使用供应商提供的 PKG 文件还是使用 Darwin Ports 版本? 是否有决定如何安装软件包的一般经验法则?

Is there any advantage in using one over the other? Should I use the vendor provided PKG file or use the Darwin Ports version? Is there a general rule of thumb for deciding how to install a package?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

傲娇萝莉攻 2024-07-18 20:08:51

我会使用供应商提供的软件包只是因为支持。 我发现当我遇到 darwinports 问题时,比基于 PKG 的安装更难找到支持。

I would use the vendor provided package just because of support. I have found that when I have issues with darwinports it is much harder to find support than with PKG based installs.

柠檬色的秋千 2024-07-18 20:08:51

使用macports(已更名为darwinports)。

您将获得位于 /opt/local 中的库存安装。

用它构建的工具链与您通常在 Linux 中获得的经典 /usr/local 工具链非常相似。 你确切地知道它是如何安装的,并且它会自动引入依赖项,更重要的是,使用任何现代 Mac 都可以快速从源代码构建这个东西,完成后,你就可以在它的基础上构建所需的一切,既然你有来源。

端口同步&& port -d install mysql5 +server

如果是第一次使用 macports,晚上和早上运行就可以了。 下次你就不需要建造那么多了。 该系统奖励持续使用。

Use macports ( darwinports renamed ) .

You get a stock install that is in /opt/local.

Your toolchain built with this is very similar to the classic /usr/local toolchain you would get ordinarily in linux. You know exactly how it's installed, and it pulls in dependencies automatically, and more to the point, it's quick to build the thing from source with any modern mac and when that is done then everything you need to build upon whatever it is is there, since you have the source.

port sync && port -d install mysql5 +server

if it's the first time using macports, run that at night and in the a.m. it'll be done. Next time you wont need to build so much. The system rewards constant use.

ヅ她的身影、若隐若现 2024-07-18 20:08:51

我使用供应商提供的软件包在 OS X 上安装 MySQL。它既快速又简单。 对于通用 MySQL 的使用,我不明白为什么有人会采用其他方式。

I've used the vendor-provided package to install MySQL on OS X. It was fast and easy. For general-purpose MySQL usage, I don't see why anyone would do it any other way.

旧时光的容颜 2024-07-18 20:08:51

我通常更喜欢使用 MacPorts 来安装软件,但是对于 MySQL,我发现使用供应商提供的安装程序要容易得多。 编译时间更少(显然),并且它包含使配置更容易的工具。

I generally prefer using MacPorts to install software, but in the case of MySQL, I found it much easier to use the vendor-supplied installer. Less compile time (obviously), and it included tools that made configuration much easier.

纵山崖 2024-07-18 20:08:51

我通常更喜欢使用包管理器中的包(尽管我使用 fink...)。 我发现集成/依赖问题比我的错误修复问题更常见、更严重。

但是,很大程度上取决于软件包维护者,所以 YMMV。

I usually prefer to use a package from my package manager (though I use fink...). I have found that integration/dependency problems are more common and more severe than my bug-fix problems.

But, a lot will depend on the package maintainer, so YMMV.

淡淡の花香 2024-07-18 20:08:51

我不会将 MacPorts 或 Fink 用于任何关键应用程序。 特别是如果您使用的是 Leopard。

也许只有我这么认为,但我使用 MacPorts 和 Fink 安装应用程序的成功率约为 50-50。

I wouldn't use MacPorts or Fink for any critical apps. Especially if you're using Leopard.

Perhaps it's just me, but I've had about a 50-50 success rate in installing apps using MacPorts and Fink.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文