How to install htmldoc on Cent OS

Linux OS Topics
Post Reply
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

How to install htmldoc on Cent OS

Post by Saman » Fri Sep 16, 2011 4:22 pm

Goto var and create a directory "htmldoc" and download the latest version:

Code: Select all

cd /var/
mkdir htmldoc
cd htmldoc
wget http://ftp.easysw.com/pub/htmldoc/1.8.27/htmldoc-1.8.27-source.tar.gz
If you don't have gcc-c++ installed, you can install with this command line with some options.

Code: Select all

yum install gcc-c++ compat-gcc-32 compat-gcc-32-c++
Untar and make the install:

Code: Select all

tar -xvzf htmldoc-1.8.27-source.tar.gz
cd htmldoc-1.8.27
./configure
make
make install
Test command line:

Code: Select all

htmldoc --webpage -f output.pdf filename.html
Post Reply

Return to “Linux”