Libreoffice Source

Posted onby admin

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 (commonly known as OpenOffice), and is the most actively developed 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.

Source Code

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:

Libreoffice Source
  • Clone from Gerrit (our code review tool): git clone
  • Clone from the anongit repository: git clone
  • 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):
Libreoffice source
  1. unpack the archive by running tar xvf libreoffice-core.tar.bz2
  2. change directory to 'libo'
  3. run git checkout -f
  4. run git pull -r to get most recent commits

Libreoffice Source Code

Libreoffice Source
  • Release tarballs are only for people building LibreOffice for *nix distributions. Please find the latest versions (usually near the bottom)
Libreoffice Source

Build and run it

Libreoffice Free Download

Libreoffice Source

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:
make debugrun

Libreoffice Mirrors

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.