in CentOS

Install Ted on Centos 7.4

Long time hiatus 🙂 . Yes, being busy with unnecessary things but its fine I come back after a year hahaha.

Today I want to share proces for install Ted, I need this for rtftopdf purpose. rpm file not work for my case since I use latest CentOS (7.4 at this moment).

The install process is straight, lets get start!

Install required tools

yum install gcc gcc-c++ autoconf automake libXpm-devel pcre-devel
zlib-devel ImageMagick libtiff-devel libpng-devel libjpeg-devel gtk+
gtk+-devel gtk2-devel zlib-devel libpng-devel libjpeg-devel gtk2-devel

Get latest Ted and install

wget http://ftp.nluug.nl/pub/editors/ted/ted-2.23.src.tar.gz

tar xvzf ted-2.23.src.tar.gz

cd Ted-2.23/
make
make package
make install

which Ted
/usr/bin/Ted

To get rtf2pdf work you’ll need ghostscript

Install Ghostscript

yum install ghostscript

Download rtf to pdf

wget http://ftp.nluug.nl/pub/editors/ted/rtf2pdf.sh

Done.