Download TRE
TRE is released under a license which is essentially the same as the "2 clause" BSD-style license used in NetBSD. See the file LICENSE, also included in the source code package, for details.
In case you have been using previous versions of TRE in your program and are wondering how the license change (TRE used to be LGPL) affects you, the answer is simple: you can keep using TRE. The new license is much simpler and more permissive than the old, and it's compatible with the GNU GPL.
0.7.6 (stable)
| Source code | ||||
| tre-0.7.6.tar.bz2 | 23-May-2009 | 371k | ||
| tre-0.7.6.tar.gz | 23-May-2009 | 469k | ||
| tre-0.7.6.zip | 23-May-2009 | 520k | ||
Binaries
Binary packages are available for various systems, but I'm not maintaining those myself. If you maintain some TRE packages but they're not listed here please let me know.
Debian, Ubuntu, etc.
There are Debian packages available for most dpkg -based systems (Debian, Ubuntu, GNU Solaris, etc). The tre-agrep, libtre4, and libtre-dev packages are what you want. Just enable the appropriate sources in /etc/apt/sources.list (e.g. for Ubuntu you want to enable universe) and runapt-get install tre-agrep libtre4 libtre-devto install everything.
FreeBSD
There is a port called libtre.Mac OS X / Darwin
There is a port called tre over at macports.
NetBSD, IRIX, Interix
TRE is available in pkgsrc.
NeXTStep/Openstep
RPMs
The fedora extras repository has the tre and agrep packages, for example. Try rpmfind for tre to find more RPM packages.
Windows
Windows binaries are available from the gnuwin32 project.
Language bindings
There are bindings for TRE for a bunch of languages:Darcs repository
I'm using darcs for revision control. You can get the latest stable source directly via darcs:darcs get --set-scripts-executable http://laurikari.net/tre/darcs/stable/Check the file README.darcs for instructions on how to build from the darcs sources.
You can also browse the darcs repository.