Jason S
Jason S

Reputation: 189656

cvs for Mac OSX

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.

Upvotes: 5

Views: 19215

Answers (6)

rsenna
rsenna

Reputation: 11963

Using Homebrew:

brew tap homebrew/dupes # cvs is on the homebrew-dupes repository.
brew install cvs

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

Upvotes: 8

Robert Paulson
Robert Paulson

Reputation: 18061

[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:

  1. Boot into a partition with Mac OS X v10.5 (Leopard) installed.
  2. Insert the Mac OS X v10.5 (Leopard) Install DVD.
  3. Double-click the file XcodeTools.mpkg, located inside the directory Optional Installs/Xcode Tools.
    ...

ref Apple Xcode Installation Guide

Upvotes: 4

Autonomus
Autonomus

Reputation: 1

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! =)

Upvotes: -1

fredarin
fredarin

Reputation: 784

I just learned nowadays installing xcode is a breeze.

  1. Start installation of xcode from App Store
  2. Have lunch
  3. Type xcrun cvs at the command prompt and - well - enjoy cvs...

Upvotes: 1

larham1
larham1

Reputation: 12216

If you have xcode installed, the cvs command-line binary is in /Developer/usr/bin, so putting it your path is:

export PATH=/Developer/usr/bin:$PATH

Upvotes: 0

Paul
Paul

Reputation: 673

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/

Upvotes: 2

Related Questions