tramp is freely available on the Internet and the latest release may be downloaded from ftp://ftp.gnu.org/gnu/tramp/. This release includes the full documentation and code for tramp, suitable for installation. But Emacs (22 or later) includes tramp already, and there is a tramp package for XEmacs, as well. So maybe it is easier to just use those. But if you want the bleeding edge, read on...
For the especially brave, tramp is available from Git. The Git version is the latest version of the code and may contain incomplete features or new issues. Use these versions at your own risk.
Instructions for obtaining the latest development version of tramp from Git can be found by going to the Savannah project page at the following URL and then clicking on the Git link in the navigation bar at the top.
Or follow the example session below:
] cd ~/emacs ] git clone git://git.savannah.gnu.org/tramp.git
Tramp developers use instead
] git clone firstname.lastname@example.org:/srv/git/tramp.git
You should now have a directory ~/emacs/tramp containing the latest version of tramp. You can fetch the latest updates from the repository by issuing the command:
] cd ~/emacs/tramp ] git pull
Once you've got updated files from the Git repository, you need to run autoconf in order to get an up-to-date configure script:
] cd ~/emacs/tramp ] autoconf