Edgewall Software

Version 205 (modified by Christian Boos, 5 years ago) ( diff )

#LatestDevRelease: mention Jinja2 and Genshi 0.7.1

Trac Download

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.

Macro TracDownloads(Trac-latest) failed
No files found for prefix Trac-latest

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.

About the prerequisites for Trac 1.2.x

  • Python 2.6 or 2.7 (+setuptools)
  • Genshi: 0.7 (or 0.6.1) (win32 installer available)
  • Babel: 1.3 (or 0.9.6, win32 installer available) needed for localizing Trac, otherwise optional. Note that it needs to be installed before Trac when installing the latter from source (.gz or .zip).

For Windows x64, there are no installers for Genshi and Babel so install them by using easy_install.

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.

Wheel package

md5:9a6463f907f6c9a6325aa8636b3b30f3 sha256:874bd94603005181fb30c0a3449e7ddea7fa6d22af2d5b290e2ce24735d323a1

Tar package

md5:526161fa7e35591beede3fafbe1a0767 sha256:c88f1b700aa3ace8e9e5dd71dfd60e07efd6fabf7625aeb5b04637b87c5da06d

Windows installer (64-bit Python)

md5:3da6ff4fc17110f4f5db9b9a12d88a59 sha256:edfa090cf02ed69273af33f4ccf3916e2dc6765e3324ad61cab4b5ee8727abfc

Windows installer (32-bit Python)

md5:4f1f4510f2bb11bd3f637a0d36d623ba sha256:3a556ab1a2e435f7efec76747168734d90d10e714eda767787402c95a34dcb73

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.

About the prerequisites for Trac 1.0.x

  • Python 2.5, 2.6 or 2.7 (+setuptools)
  • Genshi: 0.7 (or 0.6.1) (win32 installer available)
  • Babel: 1.3 (or 0.9.6, win32 installer available) needed for localizing Trac, otherwise optional. Note that it needs to be installed before Trac when installing the latter from source (.gz or .zip).

For Windows x64, there are no installers for Genshi and Babel so install them by using easy_install.

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

Tar package

md5:3abf3329989bbf9cbc581e3058dfa56e sha1:f8dd4d49eda68e1aa0a0c4a62d554bae687fd936

Windows Zip package

md5:7bc761d3a234e130c729900f21dd2e26 sha1:0555ff00cfefea5780ce02d5f221d9976163deea

Windows installer (32-bit Python)

md5:10a7d3c3bf801d7f7a46cfbb2b1af903 sha1:144925c6d3499135cbe6477016a2644012a094d5

Windows installer (64-bit Python)

md5:d888e4267602cf32abcf8e6d48eb8b07 sha1:80722b236240dfaddcee828e06e058fe684ed4c6

Be sure to read the 0.12/TracUpgrade page and the 0.12/TracInstall page.

About the prerequisites for Trac 0.12.x

  • Python 2.4, 2.5, 2.6 or 2.7 (+setuptools)
  • Genshi: 0.6.1 (win32 installer available)
  • Babel: 1.3 (or 0.9.6, win32 installer available) needed for localizing Trac, otherwise optional. Note that it needs to be installed before Trac when installing the latter from source (.gz or .zip).

For Windows x64, there are no installers for Genshi and Babel so install them by using easy_install.

(use easy_install 'genshi<=0.6.1' to avoid installing 0.7 which is not compatible with Trac 0.12.x)

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
  • this version of Trac now uses Jinja2 as it's main template engine - however plugins relying on the Genshi template engine are still supported for now

Macro TracDownloads(Trac-latest-dev, #fda) failed
No files found for prefix Trac-latest-dev

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.

About the prerequisites for Trac 1.3.x

  • Python 2.7 exclusively (+setuptools)
  • Jinja — will be installed automatically when installing Trac
  • Genshi — now optional, only install if you have plugins still needing it
    Versions that should work: 0.7, 0.7.1
    Version that may still work but not recommended: 0.6.1 (win32 installer available)
  • Babel — needed for localizing Trac, otherwise optional. Note that it needs to be installed before Trac when installing the latter from source (.gz or .zip).
    Versions that should work: 0.9.6, 1.3, 2.6.0

For Windows x64, there are no installers for Genshi and Babel so install them by using easy_install or pip.

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:

https://svn.edgewall.org/repos/trac/

Refer to the TracRepositories page for full details about how to get access to the source.

Trac 1.3dev

The latest revision for the upcoming next development release of Trac (next-dev-1.3.x) can be checked out with the following command:

svn co https://svn.edgewall.org/repos/trac/trunk trac

(https: also works)

Be sure to read 1.3/TracUpgrade and 1.3/TracInstall for the specific installation instructions for this version.

Trac 1.2-stable

The latest revision for the upcoming next maintenance release of Trac (next-stable-1.2.x) can be checked out with the following command:

svn co https://svn.edgewall.org/repos/trac/branches/1.2-stable trac

Be sure to read TracUpgrade and TracInstall for the specific installation instructions for this version.

Trac 1.0-stable

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 https://svn.edgewall.org/repos/trac/branches/1.0-stable

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

then:

export PYTHONPATH=/opt/trac-1.2dev/lib/python2.7/site-packages:$PYTHONPATH

or, in your httpd.conf:

<Location /projects/myproject>
  ...
  PythonPath "['/opt/trac-1.2dev/lib/python2.7/site-packages'] + sys.path"
  ...
</Location>

See also: TracProject, TracGuide.

Note: See TracWiki for help on using the wiki.