venerdì 21 novembre 2008

OdfConverter [with libtiff4] on Kubuntu Gutsy - Howto

Steps to install odf-converter (software that converts MS OpenXML formats in ODF)

1. Download odf-converter-1.1-7.i586.rpm (for x86_32) or odf-converter-1.1-7.x86_64.rpm (for x86_64)
2. Install alien and rpm --> In a terminal just type $sudo apt-get install rpm alien
3. Move to the folder in which the rpm has been downloaded. Convert the .rpm package to a .deb package --> In a terminal $cd /folder/in/which/is/rpm/ - then - $sudo alien -dv odf-converter-1.1-7.x86_64.rpm (or odf-converter-1.1-7.i586.rpm if on 32-bit hardware)
4. Install the newly built .deb package --> $sudo dpkg -i odf-converter_1.1-8_amd64.deb
5. Copy the binary to the binaries folder --> $sudo cp /usr/lib/ooo-2.0/program/OdfConverter /usr/bin
6. Try running Odfconverter --> $OdfConverter
6.b [to do only if the previous command returned "OdfConverter: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory"] Create a symlink named libtiff.so.3 pointing to libtiff.so.4 and update libraries cache --> $sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3 && sudo ldconfig
7. Start using software --> OdfConverter /I file.to.convert.docx

Credits:
http://www.oooninja.com/2008/01/convert-openxml-docx-etc-in-linux-using.html

http://linux.derkeiler.com/Mailing-Lists/Ubuntu/2006-04/msg02897.html for the libtiff trick

4 commenti:

Andrew Z ha detto...

That's ancient. The new odf-converter-integrator 0.2.1 has OdfConverter 2.5, and it is specially built to not require libtiff.

bongfactory ha detto...

Thanks for the advice. Does it work on 64-bit?

Andrew Z ha detto...

Yes, but the 64-bit version is bit out of date because I don't have a 64-bit machine handy.

bongfactory ha detto...

Which version of odf-converter does the 64-bit version of the integrator use?