- Latest Stable Release for the 1.2.x line - Trac 1.2.3
- Older Stable Releases
- Latest Development Releases for the 1.3.x line (unstable)
- Latest Development Source Code
Trac is released under the modified BSD license.
For installation instructions, see TracInstall or the included INSTALL file.
If you're upgrading from a previous release, please read TracUpgrade carefully.
The latest releases of Trac are also available on PyPI.
Latest Stable Release for the 1.2.x line - Trac 1.2.3
Here's the latest and greatest version of Trac, the 1.2.3 release. See the release notes for details.
Again, be sure to read TracInstall and TracUpgrade before installing or upgrading, then proceed by reading the rest of the TracGuide. If you have any trouble, check the TracSupport page which explains how to get help.
Older Stable Releases
Latest Stable Release for the 1.0.x line - Trac 1.0.17
Here's our latest version on our previous stable release line (1.0.x) of Trac, the 1.0.17 release. See the release notes for details. This release line is still supported although it is now recommended to upgrade to the 1.2.x release line.
Again, be sure to read 1.0/TracInstall and 1.0/TracUpgrade before installing or upgrading, then proceed by reading the rest of the 1.0/TracGuide. If you have any trouble, check the TracSupport page which explains how to get help.
Latest Stable Release for the 0.12.x line - Trac 0.12.7
Note that the 0.12.x release line will be supported for quite some time (LTS - Long Term Support release), at least for any serious issue or security issue that may arise. However, use 1.2.x for new installations and upgrade to 1.2.x whenever possible
Even Older Releases
Older releases and auxiliary files are archived on the FTP server:
Each release is also tagged in the subversion repository:
Latest Development Releases for the 1.3.x line (unstable)
The really latest and greatest version of Trac.However this is a development release, so a few caveats are in order:
- don't expect the level of API or feature stability you'll get from either 1.0.x or 1.2.x
- don't use in production unless you're at ease with backup, upgrade and manual downgrade procedures
- don't ship this one in your favorite distribution if you're a Trac package maintainer
The development releases are not hosted on PyPI, but can be installed using the full URL of the package hosted on download.edgewall.org:
$ pip install https://download.edgewall.org/trac/Trac-latest-dev.tar.gz
See the release notes for more details.
Latest Development Source Code
We use Subversion for source revision control and code sharing, but we also have Git and Mercurial mirrors.
The Subversion repository URL for the Trac project is at:
Refer to the TracRepositories page for full details about how to get access to the source.
svn co https://svn.edgewall.org/repos/trac/trunk trac
(https: also works)
svn co https://svn.edgewall.org/repos/trac/branches/1.2-stable trac
The latest revision for the stable version of Trac 1.0 can be checked out from the 1.0-stable branch with the following command:
svn co https://svn.edgewall.org/repos/trac/branches/1.0-stable 1.0dev
Installation can be performed as usual, using for example the following command:
cd 1.0dev python setup.py install
Alternatively, you can directly "easy-install" the latest stable version from the repository:
easy_install is a script provided by the SetupTools.
Installing versions from checkouts
It's perfectly doable to run Trac directly from a checkout, and that's indeed very useful while developing (see TracDev/DevelopmentEnvironmentSetup).
You can also install a development version, either using the normal installation procedure, or by installing it at a specific location.
We recommend that you choose some well visible place (e.g.
/opt/trac-1.2dev), and override the PYTHONPATH environment variable (or PythonPath path directive for
mod_python) by prepending the
/opt/trac-1.2dev/lib/python2.7/site-packages path (replace 2.7 by the Python version that you actually use). That way, you minimize the risk of interferences with the packaged Trac version you probably already have.
cd 1.2-stable python setup.py install --prefix=/opt/trac-1.2dev
or, in your httpd.conf:
<Location /projects/myproject> ... PythonPath "['/opt/trac-1.2dev/lib/python2.7/site-packages'] + sys.path" ... </Location>