LibreOffice is open source, and free to download, use and distribute. A quick overview of the LibreOffice code structure. You can develop for LibreOffice in one of two ways, one recommended and one much less so. The Data sources command is only available when a text document or a spreadsheet is open. You can insert fields from a database into your file or you can create forms to access the database. LibreOffice is free and open source software, originally based on OpenOffice.org (commonly known as OpenOffice), and is the most actively developed OpenOffice.org successor project. LibreOffice is developed by users who, just like you, believe in the principles of Free Software and in sharing their work with the world in non-restrictive ways.
How to build LibreOffice
- Read our documentation on how to build LibreOffice
- Read our overview of the build system
- Watch a quick video intro on how to build LibreOffice
- Watch a video tutorial on hacking LibreOffice with Kdevelop
There are three ways to get the source code:
- Clone from Gerrit (our code review tool): git clone https://git.libreoffice.org/core
- Clone from the anongit repository: git clone https://anongit.freedesktop.org/git/libreoffice/core.git
- As a final fallback, download the tarball (in case the Git server is experiencing problems). After downloading the tarball, follow these steps in your command line (for Windows it is assumed you are using cygwin shell):
- unpack the archive by running tar xvf libreoffice-core.tar.bz2
- change directory to 'libo'
- run git checkout -f
- run git pull -r to get most recent commits
Libreoffice Source Code
- Release tarballs are only for people building LibreOffice for *nix distributions. Please find the latest versions (usually near the bottom)
Build and run it
Libreoffice Free Download
These instructions are primarily aimed at a GNU/Linux user. Bootstrap your system by installing all the packages required to build your distribution's LibreOffice package. Refer to the article about building on Linux to make sure you get everything you need.
Then download the complete source code and build it:
Libreoffice Source Code Language
Start the program by running: instdir/program/soffice
Or use this command to start LibreOffice under the gdb debugger:
If you have problems with the build, don't be put off - get in touch with us on IRC, and/or read the wiki page How to build.