|Version 211 (modified by 4 months ago) ( diff ),|
- Latest Stable Release for the 1.4.x line
- Older Stable Releases
- Latest Development Releases for the 1.5.x line (unstable)
- Latest Development Source Code
Trac is released under the modified BSD license.
For installation instructions, see TracInstall or the included INSTALL.rst.
Please read TracUpgrade if you're upgrading from a previous release.
The latest releases of Trac are also available on PyPI.
Latest Stable Release for the 1.4.x line
Here's the latest and greatest version of Trac.
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.2.x line
Here's the latest version of our previous stable release line (1.2.x) of Trac. See the release notes for details. This release line is still supported although it is now recommended to upgrade to the 1.4.x release line.
Again, be sure to read 1.2/TracInstall and 1.2/TracUpgrade before installing or upgrading, then proceed by reading the rest of the 1.2/TracGuide. If you have any trouble, check the TracSupport page which explains how to get help.
Latest Stable Release for the 1.0.x line
Here's the latest version of our previous stable release line (1.0.x) of Trac. See the release notes for details. This release line is still supported although it is now recommended to upgrade to the 1.4.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.
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.5.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, 1.2.x or 1.4.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 Genshi template engine has been removed
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.4-stable trac
Installation can be performed as usual, using for example the following command:
cd 1.4-stable python setup.py install
Alternatively, you can directly "pip install" the latest stable version from the repository:
pip install https://svn.edgewall.org/repos/trac/branches/1.4-stable
See the TracPlugins page if you need to install
Installing versions from checkouts
It's possible 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>