Search code examples
libreoffice

Where should the LibreOffice SDK folder go after installation?


I downloaded the SDK because I was trying to use macros for LibreOffice Calc on a Mac. My macros are working, but I am not sure what to do with the SDK installation folder at this point. The SDK folder is currently in my Downloads folder. See the contents of the folder I am referring to below:

LibreOffice7.5_SDK
├── bin
├── classes
├── config.guess
├── config.sub
├── configure.pl
├── docs
├── examples
├── include
├── index.html
├── setsdkenv_unix
├── setsdkenv_unix.sh.in
├── settings
└── share
  • Can it be moved elsewhere?
  • Can it be deleted?
  • Is there a place where it typically goes?

A related SO question, LibreOffice SDK:How install and config LibreOffice SDK in mac, is not helpful for this question because it is about an error in the installation process, not about what to do after installation.

As confirmation of a successful installation, my $HOME directory contains the setsdkenv_unix script. I am following installation directions on the LibreOffice Installation Guide


Solution

  • I usually create a src folder to contain things like this. I don't unpack the tarballs in the Downloads folder. It will have to create a new setsdkenv_unix file. It says it creates that file on first use, so perhaps you can just remove the file that's there. Or, edit the file and replace "Downloads" with "src" or whatever you choose.