Книга: Learning GNU Emacs, 3rd Edition

13.1.4 Downloading Emacs from CVS

13.1.4 Downloading Emacs from CVS

As we mentioned earlier, you can also use CVS to pull the source files. The big advantage with CVS is that you get the absolute latest version.

1. Create or switch to a directory where your Emacs build can remain. Don't do this in a temporary directory unless you don't plan on keeping Emacs around. Once there, set up the CVS_RSH environment variable:

% setenv CVS_RSH ssh

2. If the setenv command is not recognized, you're probably running bash instead of a csh-derived shell. In that case, use the following command for the environment variable.

$ export CVS_RSH="ssh"

3. Use the cvs command to grab the source code.

% cvs -z3 -d:ext:[email protected]:/cvsroot/emacs co emacs
The authenticity of host 'savannah.gnu.org (199.232.41.3)' can't be established.
RSA key fingerprint is 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5.
Are you sure you want to continue connecting (yes/no)?

4. Verify that the public key matches this key:

80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5

5. That just makes sure you actually got connected to the right system and aren't being fed some malicious alternative.

6. If the keys match, type yes and press Enter.

Warning: Permanently added 'savannah.gnu.org,199.232.41.3'
(RSA) to the list of known hosts.
cvs server: Updating emacs
U emacs/.cvsignore
U emacs/AUTHORS
U emacs/BUGS
U emacs/COPYING
U emacs/ChangeLog
U emacs/FTP
U emacs/INSTALL
...

You'll see thousands of filenames flying by. If you have a slow network connection, this process could take a while. Hang in there, though—you're on your way to building the absolute latest version of Emacs!

Оглавление книги


Генерация: 1.475. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз