[[PageOutline(2-3)]] = Trac Download Trac is released under the [TracLicense 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 are also available on [pypi:Trac PyPI]. == Latest Stable Release for the 1.6.x line #Trac16StableRelease Here's the latest and greatest version of Trac. See the [[TracDev/ReleaseNotes/1.6#MaintenanceReleases|release notes]] for details. [[TracDownloads(Trac-latest-1.6)]] 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. {{{#!div style="border: 1px dotted #aaa; background: #ffe; width: 26em; margin: auto; padding: 0 2em; font-size: 90%" === About the prerequisites for Trac 1.6.x - Python 3.5+ (+[pypi:setuptools]) - Jinja2: [pypi:jinja2 >= 2.9.3] - Babel (optional): [pypi:Babel >= 2.2 and < 2.10] Note that it needs to be installed **before** Trac when installing Trac from source (.gz). }}} == Older Stable Releases #OlderReleases === Latest Stable Release for the 1.4.x line #Trac14StableRelease Here's the latest version of the 1.4.x release line. See the [[TracDev/ReleaseNotes/1.4#MaintenanceReleases|release notes]] for details. [[TracDownloads(Trac-latest-1.4, #f6f6f6)]] 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. {{{#!div style="border: 1px dotted #aaa; background: #f6f6f6; width: 26em; margin: auto; padding: 0 2em; font-size: 90%" === About the prerequisites for Trac 1.4.x - Python 2.7 (+[pypi:setuptools]) - Jinja2: [pypi:jinja2 >= 2.9.3] - '''*''' Genshi: [pypi:genshi >= 0.7] (or [https://genshi.edgewall.org/wiki/Download#LatestRelease:0.7 0.7 win32 installer] available), but needed by many plugins. - '''*''' Babel: [pypi:Babel >= 0.9.5] (or [https://babel.edgewall.org/wiki/Download#LatestRelease:0.9.6-2011-03-17 0.9.6] win32 installer available) needed for localizing Trac. Note that it needs to be installed **before** Trac when installing the latter from source (.gz or .zip). '''*''' optional For Windows x64, there are no installers for Genshi and Babel so install them [TracInstall#Usingpip using pip]. }}} === Older Releases Older releases are archived on the FTP server: * https://download.edgewall.org/trac/ Each release is also tagged in the subversion repository: * https://svn.edgewall.org/repos/trac/tags/ {{{#!comment === Latest Development Releases for the 1.5.x line (unstable) #LatestDevRelease The //really// latest and greatest version of Trac. However this is a development release, so a few caveats are in order: - the Genshi template engine has been removed, so many plugins won't work. - don't expect the level of API or feature stability you'll get 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 [[TracDownloads(Trac-latest-dev, #fda)]] The development releases are not hosted on PyPI, but can be installed using the full URL of the package hosted on download.edgewall.org: {{{#!sh $ pip install https://download.edgewall.org/trac/Trac-latest-dev.tar.gz }}} See the [[TracDev/ReleaseNotes/1.6#DevelopmentRelease|release notes]] for more details. {{{#!div style="border: 1px dotted #aaa; background: #fda; width: 26em; margin: auto; padding: 0 2em; font-size: 90%" === About the prerequisites for Trac 1.5.x - Python 3.5+ (+[pypi:setuptools]) - [pypi:Jinja Jinja] -- will be installed automatically when installing Trac - '''*''' Babel [pypi:Babel >= 2.2] -- needed for localizing Trac. Note that it needs to be installed **before** Trac when installing the latter from source (.gz or .zip). '''*''' optional }}} == Latest Development Source Code We use [https://subversion.apache.org/ 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. {{{#!htmlcomment I hope this is enough for PyPI: https://svn.edgewall.org/repos/trac/branches/0.11-stable#egg=Trac-0.11-dev 0.11-stable https://svn.edgewall.org/repos/trac/branches/0.12-stable#egg=Trac-0.12-dev 0.12-stable ? }}} === Trac ''1.5dev'' #Tractrunk The latest revision for the upcoming [https://svn.edgewall.org/repos/trac/trunk#egg=Trac-dev next development release] of Trac ([milestone:next-dev-1.5.x]) can be checked out with the following command: {{{#!sh svn co https://svn.edgewall.org/repos/trac/trunk trac }}} Be sure to read [[1.5/TracUpgrade]] and [[1.5/TracInstall]] for the specific installation instructions for this version. You can directly "pip install" the latest development version from the repository: {{{#!sh pip install svn+https://svn.edgewall.org/repos/trac/trunk }}} }}} == Trac 1.6-stable #Tracstable The latest revision for the upcoming [https://svn.edgewall.org/repos/trac/branches/1.6-stable#egg=Trac-1.6-dev next maintenance release] of Trac ([milestone:next-stable-1.6.x]) can be checked out with the following command: {{{#!sh svn co https://svn.edgewall.org/repos/trac/branches/1.6-stable trac }}} Installation can be performed as usual, using for example the following command: {{{#!sh cd 1.6-stable python setup.py install }}} Alternatively, you can directly "pip install" the latest stable version from the repository: {{{#!sh pip install svn+https://svn.edgewall.org/repos/trac/branches/1.6-stable }}} See the [wiki:TracPlugins#Usingpip] page if you need to install `pip`. Be sure to read TracUpgrade and TracInstall for the specific installation instructions for this version. === 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.4dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''prepending'' the `/opt/trac-1.4dev/lib/python2.7/site-packages` path (replace 2.7 by the Python version that you actually use). That way, you minimize the risk of interfering with the packaged Trac version you probably already have. {{{#!sh $ cd 1.6-stable $ python setup.py install --prefix=/opt/trac-1.6dev }}} then: {{{#!sh $ export PYTHONPATH=/opt/trac-1.6dev/lib/python2.7/site-packages:$PYTHONPATH }}} or, in your httpd.conf: {{{#!apache ... PythonPath "['/opt/trac-1.46ev/lib/python2.7/site-packages'] + sys.path" ... }}} ---- See also: TracProject, TracGuide.