Home arrow Site Administration arrow Page 3 - CVS Quickstart Guide

Installing CVS with a Package Manager - Administration

The Concurrent Versions System (CVS) is an open source tool that lets you manage versions of anything stored in files. If you're a software developer trying to manage different versions of the same code, you'll want to check out this three-part series. It is excerpted from chapter two of Essential CVS, Second Edition, written by Jennifer Vesperman (O'Reilly; ISBN: 0596527039). Copyright © 2007 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

TABLE OF CONTENTS:
  1. CVS Quickstart Guide
  2. Installing CVS
  3. Installing CVS with a Package Manager
  4. Installing and Building CVS from Source
By: O'Reilly Media
Rating: starstarstarstarstar / 4
April 10, 2008

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

The easiest way to install CVS under GNU/Linux is with a package manager such as YaST, GnoRPM, Kpackage, or Synaptic. In all of the package managers that Iím familiar with, the package name is either cvs or cvs followed by some punctuation and a version number. Figures 2-1 and 2-2 are screenshots of the installation with package managers, and show which menu CVS can be found in. Find and select CVS, and then click on the Install or OK button, as appropriate.


Figure 2-1.  CVS installation with Synaptic


Figure 2-2.  CVS installation with Fedora

The second easiest way to install CVS on GNU/Linux is using a command-line package manager. If youíre using apt (Debian, Ubuntu, and Mac OS X users who are running Fink), log in as root and use the command apt-get install cvs. apt will find the most recent version in its sources list. If using yum, the command is yum install cvs. Examples 2-2 and 2-3 show an apt and a yum installation.

Example 2-2. CVS installation with apt

root@pharaoh:/home# apt-get install cvs Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
 
cvs
0 upgraded, 1 newly installed, 0 to remove and 30 not upgraded.
Need to get 1441kB of archives.
After unpacking 3088kB of additional disk space will be used.
Get:1 http://au.archive.ubuntu.com breezy/main cvs 1:1.12.9-13ubuntu1 [1441kB] Fetched 1441kB in 0s (2519kB/s)

Preconfiguring packages ...
Selecting previously deselected package cvs. (Reading database ... 64166 files and directories currently installed.)
Unpacking cvs (from .../cvs_1%3a1.12.9-13ubuntu1_i386.deb) ...
Setting up cvs (1.12.9-13ubuntu1) ...

Example 2-3. CVS installation with yum

[root@localhost ~]# yum install cvs Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core
[1/3]
updates
[2/3]
extras
[3/3]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cvs to pack into transaction set.
cvs-1.11.21-3.2.i386.rpm 100% |=========================| 18 kB
00:00
---> Package cvs.i386 0:1.11.21-3.2 set to be updated
--> Running transaction check

Dependencies Resolved

===========================================

Package

Arch

Version

Repository

Size

===========================================

Installing:

cvs

i386

1.11.21-3.2

core 

732 k

Transaction Summary

===========================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 732 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): cvs-1.11.21-3.2.i3 100% |=========================| 732 kB
00:03
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  
Installing: cvs ######################### [1/1]

Installed: cvs.i386 0:1.11.21-3.2
Complete!



 
 
>>> More Site Administration Articles          >>> More By O'Reilly Media
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SITE ADMINISTRATION ARTICLES

- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: