Reference from http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
# yum install rpm-build
sudo yum install rpm-build
sudo yum install redhat-rpm-config
sudo yum install make
yum install gcc
Reference from https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/
sudo yum install gcc gcc-java libgcj libgcj-devel gcc-c++
wget https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-2.02-src.zip
unzip pdftk-2.02-src.zip
cd pdftk-2.02-dist/pdftk
make -f Makefile.Redhat
sudo make -f Makefile.Redhat install
Upon completion, you will find pdftk in /usr/local/bin.
Reference from http://pkgs.org/centos-6/repoforge-x86_64/pdftk-1.44-1.el6.rf.x86_64.rpm.html
wget apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/pdftk-1.44-1.el6.rf.x86_64.rpm
rpm -Uvh pdftk-1.44-1.el6.rf.x86_64.rpm OR rpm -Uvh *rpm
yum install pdftk
No comments:
Post a Comment