Currently using libreoffice
to convert doc to docx, using it in conjunction with unoconv
.
subprocess.call(["unoconv", "-d", "document", "--format=docx", filename])
It works on testing environment where the CentOS server has GNOME, but the production server does not.
It is suggested from my coworker that it is best to not install any GUI on the production server.
Is there any way to run the libreoffice without install GNOME?
Can I get some suggestion please?