Version 202 (modified by 6 years ago) ( diff ) | ,
---|
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.
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.
1.0.2
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
md5sum:3abf3329989bbf9cbc581e3058dfa56e
shasum:f8dd4d49eda68e1aa0a0c4a62d554bae687fd936
Windows Zip package
md5sum:7bc761d3a234e130c729900f21dd2e26
shasum:0555ff00cfefea5780ce02d5f221d9976163deea
Windows installer (32-bit Python)
md5sum:10a7d3c3bf801d7f7a46cfbb2b1af903
shasum:144925c6d3499135cbe6477016a2644012a094d5
Windows installer (64-bit Python)
md5sum:d888e4267602cf32abcf8e6d48eb8b07
shasum: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
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)
- 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 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:
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.