Lullabot Ideas
We know stuff. We empower you to know stuff too.
Install CVS on Mac OSX
Video by Addison BerryJuly 15, 2007 - 10:50am
CVS is the system that Drupal.org uses to maintain all of the code used for both core and contributed modules. If you want to be involved with development, either coding or testing, CVS is a must-have in your tool box.
This video will walk you through the steps for installing the CVS command line client on your Mac OS X computer using the free Apple XCode Tools package. It shows you how to find the package you need, install it and verify the installation.
While this video is for Mac only, the plan is to create similar videos for other operating systems as well. Stay tuned!
Watch the video (.mp4, 11.6 MB)
This video is going to show you how to install CVS on your Mac and we're going to be using Apple's free Xcode Tools. Now there are two ways that you can get the Xcode Tools. The first way is if you have your install discs that came with your computer then you already have it. If you don't have your installation discs then you can still get it for free on the internet from the Apple developer website.
Getting Xcode from the web (0:32)
So, I'm going to hop on the web real quick and do a search for Xcode Tools and the first thing that comes up is Apple's developer site. So I'm going to go in there and check that out. And this is all the information about Xcode Tools and they also have the download link. And when you get into the download link, there are several items you can select. The first one is the one that we want but you should really look at the file size because it is almost a gigabyte so it's going to be a big file that takes a long time to download, even with a fast connection. So if you do have that installation disc, that is definitely the way to go. And when I click the actual download link it's going to take me to a login screen and this is because you need to be an Apple Developer Connection member to do the download, but it's a free membership. So all you have to do is sign up, get your login information, come back, fill it in and then you can proceed with your download.
Using the Install Disc (1:22)
So I don't want to do that big download and I do have my install disc so that's how I'm going to do my installation. And it doesn't matter whether you get it as a download or from your install disc, it's the same package. So here is my install disc number one. If you have two discs, it's on the first disc. And when I go inside that I'll see a bunch of different things but the thing I'm looking for is the Xcode Tools and then within that you'll actually see the package itself.
Start Installation of Xcode Tools (1:48)
So, I'm going to double-click on that, open that up and start the installation process. And this is a typical installer just like you have for other applications. And it is going to ask you to go through the same old steps, which is the license agreement as well as selecting what location you want to install it on. And now I could just click on Install and that will do the default installation of the tools. But it is a really large package and I can click on Customize and you can trim some of the stuff out if you don't want all of it.
Customizing the Installation (2:23)
When you look at this list you can see that there is actually a lot that is getting installed and you may not need all of that stuff for what you're doing. And if you're only doing this just to get CVS you really don't need all of this. So, it's just going to take up space on your computer. The one that you need is Developer Tools Software. It's not the smallest one in here but it's still smaller than installing everything. So that's the one I want and I can uncheck all the other things. And this is totally up to you. If you want to install all the extra stuff feel free but this just gives you the ability to trim it down and not take up too much space on your computer. So once I have that done, this is the only thing I have selected now. And you'll notice I'm down to 272 megabytes, so much smaller.
Complete the Installation (3:11)
And I can do Install. If I wanted to just go back to the default, you can click Easy Install but I'm going to install it the way I want it. You need to be super user so I put in my password and I'm not going to bore you with the screens for the installation. It took my computer about two minutes to do this installation. So that was super quick for videoland. And that's it! It's installed.
Check the Installation (3:33)
So I'm going to check now by opening up my terminal and see if CVS is really there. And the way you do that is just by typing in "which cvs" and it brings back the directory that CVS is located in. If it wasn't installed properly then you would come back and say "no cvs found in" and list a number of directories where it had tried to find it. So, my CVS is installed and I'm ready to go!

Comments
Great! Thanks
Great! Thanks. That was really useful
Rating
That was perfect!
Thank you! That was so
Thank you! That was so awesome!
Excellent video!
Hello,
I just wanted to say thanks for this very informative and helpful video. It was right on and answered all the questions that I had when trying to install CVS.
Page Not Found
The link returns as Page Not Found.
Sounds like a mighty useful video though.
With rave reviews.
Sorry
Sorry about that. Video is back in its proper place.
Sweet
Your Voice
Installing Software
Better than Ezra
Thanks for so quickly finding the lost video.
ok, now what?
ok, so the video was good if you haven't found it before the mac site but im not sure as to how to really interface with it or use it. I do realize that the title was Install cvs, i guess i was hoping for more info on how to use it.
A few more
There are several videos in the Development How To section of drupal.org's videos that show some CVS and patch command use.
It really depends on what you need to do with CVS. Most people in the Drupal community use it to get Drupal core and contrib projects. The vid on Checkout Drupal HEAD from CVS shows how to get the development version of Drupal core.
Danke! from a Mac newbie
Really helped, even though Xtools 3.1 is slightly different, and I had to go into packages sub-folder and install each of the DeveloperTools packages seperately:
DeveloperTools.pkg
DeveloperToolsSystemSupport.pkg
DeveloperToolsCLI.pkg
Many thanks!
Excellent
Had just spent an hour trying to work out how to install CVS on my Mac (I am very dumb sometimes) and then your excellent video explains that I had it there already.
Saved me several more wasted hours.
A thousand blessings to you and everyone at Drupal for helping a fool back onto the right path.
Great video/audio work too BTW.
Am off to explore the rest of the Drupal vids to see what other gems you have there.
A slimmer alternative
If both of these options seem a bit heavyweight to you, you can install something called Fink on your mac, which will give you access to range of tools that are available easily to Linux users. This means that instead of downloading 1gb of data, you can do it all for less than 10 megs.
Install Fink from the link above. Then open a terminal and do the following:
sudo apt-get updateEnter your password when prompted.
Once the update is done:
sudo apt-get install cvsAnswer yes when prompted. Now try a
which cvsAnd you'll see that CVS is installed and ready to use!
Addi, is that Pathfinder you are using on your Mac?
A slimmer alternative
If both of these options seem a bit heavyweight to you, you can install something called Fink on your mac, which will give you access to range of tools that are available easily to Linux users. This means that instead of downloading 1gb of data, you can do it all for less than 10 megs.
Install Fink from the link above. Then open a terminal and do the following:
sudo apt-get updateEnter your password when prompted.
Once the update is done:
sudo apt-get install cvsAnswer yes when prompted. Now try a
which cvsAnd you'll see that CVS is installed and ready to use!
Addi, is that Pathfinder you are using on your Mac?
Thank you
Hello,
I just wanted to say thank you for this very helpful video.
Thanks Addi!
Thanks Addi!