自制酒桶“dotnet”和“dotnet”有什么区别?和“dotnet-sdk”和公式“dotnet”;

发布于 2025-01-20 04:54:01 字数 599 浏览 4 评论 0 原文

运行 brew search dotnet 显示以下

❯ brew search dotnet
==> Formulae
dotnet                                                                  dotbot

==> Casks
dotnet-preview                      dotnet-sdk-preview                  dotnet                              dotnet-sdk ✔

我有兴趣知道桶

  • dotnet
  • cask dotnet-sdk
  • 公式 > dotnet

我猜想木桶是sdk和dotnet的运行时(即类似于jdk和jre,您需要 dotnet 运行.NET应用程序和 dotnet-sdk 要编译和开发一个。

Running brew search dotnet shows the following

❯ brew search dotnet
==> Formulae
dotnet                                                                  dotbot

==> Casks
dotnet-preview                      dotnet-sdk-preview                  dotnet                              dotnet-sdk ✔

I am interested to know what are the differences between

  • the cask dotnet
  • the cask dotnet-sdk
  • the formula dotnet

I am guessing the casks are the SDK and the runtime of dotnet (i.e. similar to what the JDK and the JRE are, you need dotnet to run a .NET app and dotnet-sdk to compile and develop one. But what is the forumla (non-cask) version of dotnet do ?

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

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

发布评论

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

评论(1

嘿看小鸭子会跑 2025-01-27 04:54:01

我认为这是一个好问题。一般来说,cask 和 core 之间的主要区别在于 cask 是从供应商构建的工件安装的,而 core 是从源代码构建的。 (核心公式有一个 license 字段来强制软件的 OSS 性质)。

最重要的是,dotnet 有助于构建其他自制公式。目前,有三个公式依赖于 dotnet

  • archi-steam-farm
  • dafny
  • gitversion

I think that is a good question. In general, the main difference between cask and core is cask is installing from the artifacts built by vendors, while core is built from the source code. (And core formulae has a license field thing to enforce the OSS nature of the software).

On top of that, dotnet helps to build other homebrew formulae. Right now, there are three formulae depend on dotnet:

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