Ted
is free software. By making Ted freely available, I want to contribute to the propagation of
Linux as a viable platform for technical computer enthusiasts. As Ted is free software, I assume no
responsibility for the consequences of using it. It is up to you to decide
whether Ted suits your
purpose or not. Ted is
distributed with absolutely no warranty under the terms of the GNU Public License.

The installation of Ted depends on the platform and on the
kind of distribution. Binary distributions for Intel ix86 Linux are
available from the download site http://ftp.nluug.nl/pub/editors/ted.
The distribution comes in the form of compressed tar archives and as Red
Hat package manager (RPM) packages and Debian installer packages (DEB).
Binary distributions for other platforms might be available. For more or
more recent information refer to the Ted web site http://www.nllgg.nl/Ted. All binary installer .tar.gz packages are packaged relative to
/.

To install Ted or one of the localization packages
from an RPM package, log in as root, (Or any system user with sufficient
permissions to install packages.) and give the command rpm -i <package-details>.rpm
. To upgrade from a previous version of Ted give the command rpm -U
<package-details>.rpm. The corresponding
command on Debian based Linux versions like Ubuntu is
dpkg -i <package-details>.deb. It takes care of installing as well as of upgrading. I used
Ubuntu 12.04 to build the *.deb and *.tar.gz
files and fedora 17 to build the *.rpm files. A Solaris build can be installed with pkgadd -d <package-details>.pkg.

To compile Ted from source. Refer to the
compilation instructions at the end of this document.

To compile and link Ted, get the source code from the
download site http://ftp.nluug.nl/pub/editors/ted. Unpack the archive and follow the instructions below. If you
use other Unix versions than Linux, realize that the construction of a
distribution package uses the gzip compression utility and the chown
root:root syntax.

I want to express my
gratitude to the authors of all the free software libraries I have used for Ted. Without them, a project like Ted would have been impossible.

To compile Ted on a
debian based Linux based system you need the following development
packages: build-essential, zlib1g-dev,
libpcre3-dev, libx11-dev, libxpm-dev, libtiff4-dev, libjpeg62-dev,
libpng12-dev, libgtk2.0-dev, libpaper-dev. Use apt-get intall to install them. The deb
makefile target does this for you. On rpm based systems the packages are
called gcc, zlib-devel, pcre-devel, libX11-devel,
libXpm-devel, libtiff-devel, libjpeg-devel, libpng-devel, gtk2-devel,
libpaper-devel. Use yum
install to install them. Ted was compiled on the Solaris 11 live VM with the developer-gnu packages installed. Use pkg install developer-gnu to install
them.

Unpacking the source
archive results in a Ted-2.23 directory. To compile the executable simply
issue the command make in
the Ted-2.23 directory. There is no need to call
configure as this is done by make. You can change
some compilation options by editing the top level makefile. Refer to the
comments in the top of the file. When make is successful, there is a Ted executable in the Ted directory. To make an installation
package, call make package.
On traditional Unix systems that do not not use gnu tar, this must be done as root. The installation package
tedPackage/ted_<platform>.tar.gz is now ready. To install it on
your machine, call make install. Installation must be done as root. (Or by a system user with sufficient permission to install
software in /usr.) Those that cannot perform the last steps as root can
call make private to get a
private installation. The make private call will suggest the necessary modifications to your ~/.Ted.properties file to run from a
private installation. The ultimate possibility is to copy the Ted executable to a suitable location
and to unpack the relevant files from the tedPackage/TedBindist.tar
archive. Refer to the sections on installation and configuration for
details.

Note the deb and sysvpkg targets for packaged distributions in the root Makefile. To build the rpm package use
rpmbuild -ta ted-2.23.tar.gz --rmsource or rpmbuild --rebuild ted-2.23-1.src.rpm
if you like the Red Hat way. The rpmbuild program is part of the rpm-build package. Use yum install rpm-build to install it.

Please
do not insert my mail address in web pages that refer to me or to Ted. Plain text email addresses are
automatically harvested from the web to send unsollicited email. You can
either refer to the web page or use an image.