Getting Modules with CVS
To checkout a module, you will need to know the CVSROOT and the name
of the module you want to check out. Once you have that information,
follow the appropriate steps for your operating system:
Linux users can use the command line CVS program to checkout modules:
- Get CVS if you don't already have it
- You may need to create a blank text file named ".cvspass" in your home directory
- I don't know why, but I had to do it.
- Open a console, and go to the directory that will contain your CVS modules
- To login anonymously, run "cvs -d:pserver:anonymous@CVSROOT login" where CVSROOT is your CVSROOT
- Press enter when asked for a password
- Run "cvs -z8 -d:pserver:anonymous@CVSROOT checkout -P module" where CVSROOT is your CVSROOT and module is the name of your module
Windows users can use the graphical WinCVS program to checkout modules:
- Get WinCVS if you don't have it
- In the Start menu, find WinCVS in Programs > GNU > WinCVS 1.2 and click on it
- Open the Admin menu and select Preferences
(If this is the first time you have run WinCVS the Admin Preferences
dialogue box will open when you close the Tip of the Day.)
- On the General tab Enter anonymous@CVSROOT where CVSROOT is your CVSROOT
- Change the Authentication option to: "passwd" file on the cvs server
- Click OK to accept the new preferences
- Open the View menu and select Browse Location > Change
- Select a folder for your cvs files and click OK
- Open the Admin menu, select Login, and click OK when asked for a password
- Open the Create menu and select Checkout Module
- On the Checkout Settings tab set the module name
- Click the OK button to check out the module
- Wait for CVS to finish and print "*****CVS exited normally with code 0*****"