Once CVS is installed and the Wine specific CVS configuration is done, you can now do a login on our CVS server and checkout (download) the Wine source code. First, let's do the server login:
$ cvs -d :pserver:cvs@cvs.winehq.com:/home/wine login |
If cvs successfully connects to the CVS server, then you will get a "CVS password:" prompt. Simply enter "cvs" as the password (the password is case sensitive: no capital letters!). If you want to use one of the mirror servers for Wine CVS download, please refer to the section Wine CVS mirror servers.
After login, we are able to download the Wine source code tree. Please make sure that you are in the directory that you want to have the Wine source code in (the Wine source code will use the subdirectory wine/ in this directory, since the subdirectory is named after the CVS module that we want to check out). We assume that your current directory might be your user's home directory. To download the Wine tree into the subdirectory wine/, run:
$ cvs -d :pserver:cvs@cvs.winehq.com:/home/wine checkout wine |
Downloading the CVS tree might take a while (some minutes to few hours), depending on your connection speed. Once the download is finished, you should keep a note of which directory the newly downloaded wine/ directory is in, by running pwd (Print Working Directory):
$ pwd |
Later, you will be able to change to this directory by running:
$ cd <some_dir> |
, where <some_dir> is the directory that pwd gave you. By running
$ cd wine |
, you can now change to the directory of the Wine CVS tree you just downloaded.