Revision history [back]

Under GNU/Linux this command can be used to find the main program:

ls $(whereis libreoffice) -l ls: cannot access libreoffice:: No such file or directory lrwxrwxrwx 1 root root 35 Dec 11 19:30 /usr/bin/libreoffice4.1 -> /opt/libreoffice4.1/program/soffice -rwxr-xr-x 1 root root 52 Dec 11 19:30 /usr/bin/libreoffice4.1-printeradmin lrwxrwxrwx 1 root root 35 Dec 11 19:30 /usr/bin/X11/libreoffice4.1 -> /opt/libreoffice4.1/program/soffice -rwxr-xr-x 1 root root 52 Dec 11 19:30 /usr/bin/X11/libreoffice4.1-printeradmin  From the above /opt/libreoffice4.1/program/soffice is a shell script that runs soffice.bin in the same directory. I believe the same general arrangement is used under MacOS and Windows. Under GNU/Linux this command can be used to find the main program: $ ls \$(whereis libreoffice) -l
ls: cannot access libreoffice:: No such file or directory
lrwxrwxrwx 1 root root 35 Dec 11 19:30 /usr/bin/libreoffice4.1 -> /opt/libreoffice4.1/program/soffice
-rwxr-xr-x 1 root root 52 Dec 11 19:30 /usr/bin/libreoffice4.1-printeradmin
lrwxrwxrwx 1 root root 35 Dec 11 19:30 /usr/bin/X11/libreoffice4.1 -> /opt/libreoffice4.1/program/soffice
-rwxr-xr-x 1 root root 52 Dec 11 19:30 /usr/bin/X11/libreoffice4.1-printeradmin


From the above /opt/libreoffice4.1/program/soffice is a shell script that runs soffice.bin in the same directory. I believe the same general arrangement is used under MacOS and Windows.