Source Code

There are three ways to get the source code:

  • Clone from the anongit repository: git clone git://
  • Clone, but using the HTTP protocol, which is a bit slower: git clone
  • As a final fallback, download the tarball (in case the Git server is experiencing problems or your firewall is too restrictive for using Git). After downloading the tarball, follow these steps in your command line (for Windows it is assumed you are using cygwin, Ubuntu shell or mingw shell):
  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
  • Release tarballs are only for people building LibreOffice for *nix distributions. Please find the latest versions (usually near the bottom)


How to build LibreOffice


Build and run it

These instructions are primarily aimed at a GNU/Linux user. They are somewhat raw, but they will be improved over time. Bootstrap your system by installing all the packages required to build your distribution's LibreOffice package. The easiest way to do this is to proceed as follows:

Debian & derivatives: sudo apt-get build-dep libreoffice
Ubuntu needs this as well: sudo apt-get install libgnome-vfsmm-2.6-dev
OpenSUSE 42.1+: sudo zypper si -d libreoffice
Fedora 23+ & derivatives: sudo dnf builddep libreoffice

Then download the complete source code and build it:


Start the program by running: instdir/program/soffice

Or use this command to start LibreOffice under the gdb debugger:

make debugrun

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

Latest Tweets