Mac OSX 的 cvs
有没有地方可以将 OSX 的 cvs 可执行文件作为独立二进制文件获取?
我不想经历整个繁琐的过程,必须下载 XCode 只是为了获取 cvs,我不使用 cvs,除了 flickrj 的源代码仅通过 cvs 存储库发布。
is there a place I can get just the cvs executable for OSX as a standalone binary?
I don't want to go through the whole rigamarole of having to download XCode just to get cvs, which I don't use, except the source for flickrj is only published via a cvs repository.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
[编辑]
下面的所有链接都已失效,并且以下说明仅适用于 OS X Mavericks 之前的版本。
apple.stackexchange.com 上的答案似乎可以使用第 3 方解决该问题包管理器。
[/Edit]
不确定其他帖子发生了什么:
参考苹果Xcode 安装指南
[Edit]
All links below dead, and the below instructions only appear to work pre OS X Mavericks.
This answer on apple.stackexchange.com appears to solve the issue using 3rd party package managers.
[/Edit]
Not sure what happened to the other posts:
ref Apple Xcode Installation Guide
我现在才知道安装 xcode 是一件轻而易举的事。
xcrun cvs
并 - 好吧 - 享受 cvs...I just learned nowadays installing xcode is a breeze.
xcrun cvs
at the command prompt and - well - enjoy cvs...您可以安装 Fink http://www.finkproject.org/download/index。 php?phpLang=en 然后使用 Fink 为您安装 CVS,这将是最简单的方法。
或者,您可以尝试 CVS 项目网站上的 BSD 二进制文件,可能可以工作。 CVS 项目现在位于 nongnu.org/cvs/
You could install Fink http://www.finkproject.org/download/index.php?phpLang=en then use Fink to install CVS for you, this would be the easiest way.
Alternatively, you could try a BSD binary from from the CVS project website, that might work. The CVS project is now at nongnu.org/cvs/
如果您安装了 xcode,则 cvs 命令行二进制文件位于 /Developer/usr/bin 中,因此将其放置在您的路径中:
If you have xcode installed, the cvs command-line binary is in /Developer/usr/bin, so putting it your path is:
使用命令行实用程序安装 Xcode 后
导出 PATH=/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH
适用于较新版本的 Xcode。
无需从一个地方移动到另一个地方! =)
once Xcode is installed with commandline Utillities
export PATH=/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH
for newer versions of Xcode.
no moving xcode from place to place! =)
使用 Homebrew:
另请参阅:
https://github.com/Homebrew/homebrew-dupes
https://github.com/Homebrew/homebrew-dupes/pull/201
编辑:我这里没有安装它(不幸的是我在 Windows 机器中)但是,是的,CVS 实际上是 Homebrew 核心的一部分,因此对于 macOS 和 Linux 版本都不需要 dupes 存储库自制。
brew install cvs
应该足够了。参考:
https://github.com/Homebrew/homebrew-核心/blob/master/Formula/cvs.rb
https://github.com/Homebrew/linuxbrew-core/ blob/master/Formula/cvs.rb
Using Homebrew:
See also:
https://github.com/Homebrew/homebrew-dupes
https://github.com/Homebrew/homebrew-dupes/pull/201
Edit: I don't have it installed here (unfortunately I'm in a Windows machine) but yes, CVS is actually part of Homebrew core, so no need for the dupes repo, for both macOS and Linux versions of Homebrew.
brew install cvs
should be enough.Reference:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/cvs.rb
https://github.com/Homebrew/linuxbrew-core/blob/master/Formula/cvs.rb