How to read docx on Ubuntu
Download the file odf-converter-1.0.0-5.i586.rpm from here
Install alien
sudo apt-get install alien
Use alien to convert rpm file into tgz file
alien -ct odf-converter-1.0.0-5.i586.rpm
We will get a file called odf-converter-1.0.0.tgz
Extract odf-converter-1.0.0.tgz
tar xzf odf-converter-1.0.0.tgz
Copy three files into your OpenOffice.org directories — note that the usr that you’re copying from is a directory that was inside the tgz file.
sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/
sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/
sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/
0 Comments