TRAMP is included as part of Emacs (since Emacs 22.1).
TRAMP is also freely packaged for download on the Internet at
https://ftp.gnu.org/gnu/tramp/. The version number of
TRAMP can be obtained by the variable tramp-version
.
For released TRAMP versions, this is a three-number string
like “2.4.5”.
A TRAMP release, which is packaged with Emacs, could differ slightly from the corresponding standalone release. This is because it isn’t always possible to synchronize release dates between Emacs and TRAMP. Such version numbers have the Emacs version number as suffix, like “2.4.5.27.2”. This means TRAMP 2.4.5 as integrated in Emacs 27.2. A complete list of TRAMP versions packaged with Emacs can be retrieved by
(assoc 'Tramp customize-package-emacs-version-alist)
TRAMP is also available as GNU ELPA package. Besides the standalone releases, further minor versions of TRAMP will appear on GNU ELPA, until the next TRAMP release appears. These minor versions have a four-number string, like “2.4.5.1”.
TRAMP development versions are available on Git servers. Development versions contain new and incomplete features. The development version of TRAMP is always the version number of the next release, plus the suffix “-pre”, like “2.4.4-pre”.
One way to obtain TRAMP from the Git server is to visit the Savannah project page at the following URL and then clicking on the Git link in the navigation bar at the top.
https://savannah.gnu.org/projects/tramp/
Another way is to follow the terminal session below:
$ cd ~/emacs $ git clone https://git.savannah.gnu.org/git/tramp.git
From behind a proxy:
$ git config --global http.proxy http://user:[email protected]:8080 $ git clone https://git.savannah.gnu.org/r/tramp.git
TRAMP developers:
$ git clone [email protected]:/srv/git/tramp.git
After one of the above commands, ~/emacs/tramp will containing the latest version of TRAMP.
To fetch updates from the repository, use git pull
:
$ cd ~/emacs/tramp $ git pull
Run autoconf
as follows to generate an up-to-date
configure script:
$ cd ~/emacs/tramp $ autoconf
See the file INSTALL in that directory for further information on how to install TRAMP.