LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Which CVS binary from GNU to install??? (https://www.linuxquestions.org/questions/linux-newbie-8/which-cvs-binary-from-gnu-to-install-410024/)

sjenkinsdc 01-31-2006 10:58 AM

Which CVS binary from GNU to install???
 
I need to install CVS on my linux server. We are using SUSE distribution. I did a find CVS from root, and it doesn't find it.

I've been searching online forever trying to figure out which binary to install. I get so far as getting to a gnu ftp server and the following folders:

hppa-hpux/ 06-Dec-2005 20:15 -
mips-irix/ 06-Dec-2005 20:03 -
powerpc-aix/ 06-Dec-2005 20:23 -
sparc-sunos/ 06-Dec-2005 19:47 -
x86-bsdos/ 06-Dec-2005 19:54 -
x86-sunos/ 29-Jan-2006 14:21 -
x86-woe/

Which one do I chose for my server???

Any help is much appreciated! And forgive my newbie ignorance if CVS is actually already on my box.
sj

Dtsazza 01-31-2006 11:03 AM

I don't think CVS is usually installed by default - you can find out by typing
Code:

which cvs
and if it doesn't return anything, then you don't have it installed.

It doesn't look like there's a Linux binary available from that FTP server, so if you were going to download it from there you'd have to get the source and compile it. However, since CVS isn't some tiny, unheard-of application it'll almost certainly be available as a package for SUSE (using YaST IIRC?). I can't give you any pointers on how to use YaST, but I can almost guarantee that you can get and install CVS using it, and it'll be easier and more robust than getting either the source or the binaries from the FTP site.

sjenkinsdc 01-31-2006 12:24 PM

Client vs. Server for CVS
 
I think I may be confused. My SUSE linux box is being used as a webserver. I'd like to use it for the CVS repository, and allow our web developers to run CVS clients and pull from this repository.

Is there a difference between installing a CVS server and CVS client?

My question is: Do I need to install a CVS server on the box, or just create a repository for the clients to use?

My next question is: If I do need to install CVS on the box, where do I pull this file from on the gnu ftp server? I see non-gnu/cvs and tons of tar.gz files in this directory. I also see folders for source and binary, with subsequent folders matching what I posted above in my first post. Can I just use a tar.gz file from that cvs directory, or do I have to find a OS specific folder?

At this point, I think it would be easier for me to install the tar.gz file on the server rather than learning to use YaST. I've been spinning my wheels reading about that for a bit.

sjenkinsdc 01-31-2006 12:29 PM

Ok, I do need to install on the server
 
Just started reading some O-Reilly docs and found that CVS is client/server software. So I do need to install.

I just cannot find anywhere that directs me as to which tar file to use to install.

sjenkinsdc 01-31-2006 12:51 PM

Resolved - What I did for anyone else wanting to know
 
Found out that using RPM to install the cvs package was best.

Steps:
1) discovered which SUSE distribution we have (SUSE 9.1)
2) Went to rpmfind.net and searched on CVS
3) downloaded the rpm binary corresponding to our dist.
4) migrated file to server and ran rpm on the file.

Now it is installed.

Next step, getting it set up. :)

Thanks for the poster above for the help with the 'which cvs' command.

sj

gilead 01-31-2006 12:53 PM

CVS is on disk 4 of the 9.3 release of Suse in suse/i586/cvs-1.12.11-4.2.i586.rpm. Have a look at http://cvsbook.red-bean.com/cvsbook.html for some info on administering it.


All times are GMT -5. The time now is 04:54 PM.