Browse Articles in Linux How To

SWFTools LogoDoing a lot of web development I always need to find new ways to do things. A client recently needed a Flash PDF reader so I had to install swftools. Unfortunately on CentOS 5.6 I could not get the application compiled even though I had all the dependencies.

Well now I found an easy solution to install the package on CentOS 5.6. Follow the steps below on the command line as root:

Install all the dependencies:

yum install gcc* automake zlib-devel libjpeg-devel giflib-devel freetype-devel

Install the repository:

rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Now simple run:

yum install swftools

And it should download and install swftools and lame also if it is not installed already. Now to check if everything was installed properly run the following command.

pdf2swf -h

This will show you the switches for the pdf2swf command. For the documentation for swftools go to their wiki page. swftools wiki

Want to leave a Commnet?
Tawanda
Thursday the 24th of July, 2014 at 18:51:47
http://www.sigcomx.com
Gravatr Image
This worked flawlessly , Thank you!