{"id":23105378,"url":"https://github.com/zentrocdot/libreoffice","last_synced_at":"2025-04-03T22:21:31.906Z","repository":{"id":216702898,"uuid":"742090180","full_name":"zentrocdot/LibreOffice","owner":"zentrocdot","description":"LibreOffice Installation Guide","archived":false,"fork":false,"pushed_at":"2024-02-27T15:33:47.000Z","size":1142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T10:14:09.885Z","etag":null,"topics":["build","compile","developer","guide","installation","libreoffice","openoffice","script","scripting","scripts","source","version"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zentrocdot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-11T18:35:27.000Z","updated_at":"2024-12-30T22:28:59.000Z","dependencies_parsed_at":"2024-12-17T00:50:26.295Z","dependency_job_id":"39551520-02cc-45ac-84c1-f354e4d81d35","html_url":"https://github.com/zentrocdot/LibreOffice","commit_stats":null,"previous_names":["zentrocdot/libreoffice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentrocdot%2FLibreOffice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentrocdot%2FLibreOffice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentrocdot%2FLibreOffice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zentrocdot%2FLibreOffice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zentrocdot","download_url":"https://codeload.github.com/zentrocdot/LibreOffice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247086838,"owners_count":20881272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","compile","developer","guide","installation","libreoffice","openoffice","script","scripting","scripts","source","version"],"created_at":"2024-12-17T00:50:21.668Z","updated_at":"2025-04-03T22:21:31.890Z","avatar_url":"https://github.com/zentrocdot.png","language":"Shell","funding_links":["https://www.buymeacoffee.com/zentrocdot"],"categories":[],"sub_categories":[],"readme":"# README\n\n\u003e [!NOTE]\n\u003e \u003cp align=\"justify\"\u003eThe subsequently described installation procedure was tested from \u003ccode\u003eLinux Mint 20.3 (Una)\u003c/code\u003e up to \u003ccode\u003eLinux Mint 21.3 (Virginia)\u003c/code\u003e. The result was in all cases a running version of \u003ccode\u003eLibreOffice\u003c/code\u003e with help and language support. \u003ccode\u003eLibreOffice\u003c/code\u003e in version \u003ccode\u003e24.8.0.0.alpha0+ (X86_64)\u003c/code\u003e as \u003ccode\u003eLibreOffice Community Release Version\u003c/code\u003e will be installed. The installation procedure works as expected. I am running the \u003ccode\u003eLibreOffice\u003c/code\u003e developer version together with is shipped version from the Linux Mint installation [1].\u003c/p\u003e\n\n## Motivation\n\n\u003cp align=\"justify\"\u003eBy default, I have maintained and updated my operating system. The update also included an overdue system upgrade. \u003ccode\u003eLinux Mint LTS\u003c/code\u003e in the \u003ccode\u003eCinnamon Edition\u003c/code\u003e is installed. An upgrade was performed from version \u003ccode\u003e20.03\u003c/code\u003e codename \u003ccode\u003eUna\u003c/code\u003e (\u003ccode\u003eUbuntu Focal\u003c/code\u003e) to version \u003ccode\u003e21\u003c/code\u003e codename \u003ccode\u003eVanessa\u003c/code\u003e (\u003ccode\u003eUbuntu Jammy\u003c/code\u003e). After the upgrade, I could no longer get \u003ccode\u003eLibreOffice\u003c/code\u003e to work in the usual ways. So I decided to build \u003ccode\u003eLibreOffice\u003c/code\u003e from source on my own on the computer. The result of my installation efforts can be found here.\u003c/p\u003e\n\n## Introductary Words\n\n\u003cp align=\"justify\"\u003eThe whole installation procedure takes a while. On my last system with an AMD processor with six cores it took round about 4 hours for the installation as described. It should be noted that the available download data transfer speed influences the duration of the installation. Download and compilation needs the most time.\u003c/p\u003e\n\n\u003e [!CAUTION]\n\u003e You are using the following description at your own risk. The described procedure has been tested several times and has led to the desired result for me. Of course, I cannot guarantee that this will work for you.\n\n## Version Management\n\n\u003cp align=\"justify\"\u003eThe instruction is creating the developer version 24.8.0.0. Former versions are:\u003c/p\u003e\n\n*  New available version 24.2.0    \n*  Second last version 7.6.5 \n*  Linux Mint shipped version 7.3.7.2 \n\n## General procedure\n\nThe best way from the source code to the executable \u003ccode\u003eLibreOffice\u003c/code\u003e version seems to be realized in three steps.\n\n1. Build \u003ccode\u003eLibreOffice\u003c/code\u003e from source code without special options\n\n2. Add the language support for all known languages\n\n3. Create the translated user defined UI's and the translated help files\n\n\u003cp align=\"justify\"\u003eI demonstrate this procedure by adding language support for my favorite languages \u003ccode\u003eGerman\u003c/code\u003e, \u003ccode\u003eItalian\u003c/code\u003e and \u003ccode\u003eFrench\u003c/code\u003e next to \u003ccode\u003eEnglish\u003c/code\u003e. Other languages can be added in the same way by other users.\u003c/p\u003e\n\n## Starting point\n\nThe starting point for the installation is [3]. Reference [2] is given for the sake of completeness. The procedure is valid for \u003ccode\u003eLibreOffice\u003c/code\u003e on \u003ccode\u003eLinux\u003c/code\u003e and \u003ccode\u003eBSD\u003c/code\u003e systems.\n\n## Prerequisites\n\nThe required dependencies for \u003ccode\u003eDebian like\u003c/code\u003e and \u003ccode\u003eUbuntu like\u003c/code\u003e systems are:\n\n\u003cpre\u003e\ngit build-essential zip ccache junit4 libkrb5-dev nasm graphviz python3 python3-dev qtbase5-dev\nlibkf5coreaddons-dev libkf5i18n-dev libkf5config-dev libkf5windowsystem-dev libkf5kio-dev\nlibqt5x11extras5-dev autoconf libcups2-dev libfontconfig1-dev gperf openjdk-17-jdk doxygen\nlibxslt1-dev xsltproc libxml2-utils libxrandr-dev libx11-dev bison flex libgtk-3-dev\nlibgstreamer-plugins-base1.0-dev libgstreamer1.0-dev ant ant-optional libnss3-dev\nlibavahi-client-dev libxt-dev\n\u003c/pre\u003e\n\nInstall them on your system using sudo:\n\n    sudo apt-get install git build-essential zip ccache junit4 libkrb5-dev nasm graphviz python3 python3-dev qtbase5-dev libkf5coreaddons-dev libkf5i18n-dev libkf5config-dev libkf5windowsystem-dev libkf5kio-dev libqt5x11extras5-dev autoconf libcups2-dev libfontconfig1-dev gperf openjdk-17-jdk doxygen libxslt1-dev xsltproc libxml2-utils libxrandr-dev libx11-dev bison flex libgtk-3-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev ant ant-optional libnss3-dev libavahi-client-dev libxt-dev\n\nAs stated gcc/g++ must be at least version 12. Do as super user\n\n    sudo apt-get install gcc-12 g++-12 \n    \nand then do as super user\n\n    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 60 --slave /usr/bin/g++ g++ /usr/bin/g++-12\n\nIf these steps run well we are prepared to build \u003ccode\u003eLibreOffice\u003c/code\u003e from source.\n\n## Cloning and building\n\nGoto to the home directory \u003ccode\u003e$HOME\u003c/code\u003e and clone the repository:\n\n    git clone https://gerrit.libreoffice.org/core libreoffice\n\nChange the directory:\n\n    cd libreoffice\n\nThen you can prepare the build files by running the command:\n\n    ./autogen.sh\n\n\u003cp align=\"justify\"\u003eThe script \u003ccode\u003eautogen.sh\u003c/code\u003e is using a configuration file \u003ccode\u003eautogen.input\u003c/code\u003e. The configuration file \u003ccode\u003eautogen.input\u003c/code\u003e is called automatically. Make sure, that you do not use a \u003ccode\u003eautogen.input\u003c/code\u003e in the first run. \n\n\u003e [!TIP]\n\u003e As I have explained the configuration file \u003ccode\u003eautogen.input\u003c/code\u003e is called automatically. Do not use a \u003ccode\u003eautogen.input\u003c/code\u003e configuration file in the first run. This approach has proved successful.  \n\nRun \u003ccode\u003emake\u003c/code\u003e first to get a working build:\n   \n    make\n\nAfter that run \u003ccode\u003emake check\u003c/code\u003e: \n    \n    make check\n\n## Errors from make check    \n\n\u003cp align=\"justify\"\u003eFirst time when I installed libreoffice I got two JAVA errors, which did not influencing the installation yet. Next time I was able to run make check without errors. While installing on Linux Mint 21.3 I got again errors. This has to be checked, but did not influence the installation yet.\u003c/p\u003e   \n\n## Running the build\n\nThe previous listed steps created a local installation, which you can be started with:\n\n    instdir/program/soffice\n\nor\n\n    $HOME/libreoffice/instdir/program/soffice\n\n## Add the language support for the known languages\n\nAdd the language support for the known languages in the directory tree of the source code:\n\n    make build-l10n-only\n\nNow, we are prepared to add the translated UI's and help files.\n\n## Add the translated UI's and the help files\n\nRun the script \u003ccode\u003eautogen.sh\u003c/code\u003e without sudo\n\n    ./autogen.sh\n    \nThe configuration file \u003ccode\u003eautogen.input\u003c/code\u003e is called automatically. I am using now the following minmal version of \u003ccode\u003eautogen.input\u003c/code\u003e:\n\n    --with-lang=de it fr\n    --with-help \n    --with-package-format=deb        \n    --enable-epm   \n\nThen run \u003ccode\u003emake\u003c/code\u003e\n\n    make\n\nThen run \u003ccode\u003emake\u003c/code\u003e again \n\n    make build-l10n-only\n\nMake a copy of README_en-US at two locations and name them README_qtz as well as README_de etc. for each language. The two locations are:\n\n\u003cpre\u003e/home/\u0026lt;home-dir\u0026gt;/libreoffice/instdir/readmes\u003c/br\u003e\n/home/\u0026lt;home-dir\u0026gt;/libreoffice/workdir/CustomTarget/readlicense_oo/readme\u003c/pre\u003e\n\nWithout doing this sudo make install fails an tells README_qtz and README_de etc. are missing.\n\nThe bash file readme_copy.bash takes over the copying of the missing README files.\n\nThis issue is something like a bug (in the procedure). Without this bug libreoffice could be installed automatically.\n\nAs result, now I can see en-US as well as de and the other languages for the installed user interfaces in the libreoffice settings.\n\n## Running the build\n\nThe previous listed steps created a local installation, which you can be started with:\n\n    instdir/program/soffice\n\nor\n\n    $HOME/libreoffice/instdir/program/soffice\n\n## Final installation\n    \nFinally install everything\n\n    sudo make install\n\nThis results in\n\n    /usr/local/lib/libreoffice/program/soffice\n\nwith a German UI (and optional languages).\n    \n\n## DEB package\n\nThe DEB packages are created in:\n\n    /home/\u003chome-dir\u003e/libreoffice/workdir/installation/LibreOffice/deb/install\n\n\u003cp align=\"justify\"\u003eThe DEB package creation is not working as expected. The DEB packages can be used and they are recognised as DEB packages, but they do not install LibreOffice in the expected way. This has to be checked.\u003c/p\u003e\n\n## Workaround\n\n\u003cp align=\"justify\"\u003eDue to the fact, that the DEB packages cannot be used, I am using the following workaround. I am creating a starter on the desktop and using the icon of the correct installed official libreoffice installation.\u003c/p\u003e\n\n## To-Do\n\n\u003cp align=\"justify\"\u003eOn my to-do list is one issue of interest. How can I get a DEB package, which can be used for installation as well as distribution in principle.\u003c/p\u003e\n\n\u003cp align=\"justify\"\u003eExploring the possibilities of the \u003ccode\u003eautogen.input\u003c/code\u003e configuration file.\u003c/p\u003e\n\n## Conclusion\n\n\u003cp align=\"justify\"\u003eI have a version of \u003ccode\u003eLibreOffice\u003c/code\u003e installed on my computer that works better than any version I have worked with before.\u003c/p\u003e\n\n## See also\n\n[1]    linuxmint.com/download_all.php\n\n[2]    translations.documentfoundation.org/\n\n[3]    wiki.documentfoundation.org/Development/BuildingOnLinux\n\n[4]    www\u0026#8203;.libreoffice.org/download/pre-releases/\n\n[5]   www\u0026#8203;.libreoffice.org/download/download-libreoffice/\n\n[6]    dev.blog.documentfoundation.org/2023/07/30/ccache-for-a-5-minutes-libreoffice-build/\n\n[7]    wiki.documentfoundation.org/ReleaseNotes/24.8\n\n[8]    wiki.documentfoundation.org/Development/How_to_build\n\n[9]    wiki.documentfoundation.org/Development/GenericBuildingHints\n\n[10]    wiki.documentfoundation.org/Development/ReleaseBuilds\n\n[11]    wiki.documentfoundation.org/Development/Configuration_options\n\n[12]    wiki.documentfoundation.org/Language\n\n[13]     www\u0026#8203;.spinics.net/lists/libreoffice/msg08322.html\n\n[14]    lists.freedesktop.org/archives/libreoffice/2023-February/089917.html\n\n[15]    blog.documentfoundation.org/blog/2019/06/12/start-developing-libreoffice-download-the-source-code-and-build-on-linux/\n\n\u003e [!TIP]\n\u003e I will shortly be making a small PDF and small e-book available via Buymeacoffee that builds on this description. It will contain further information about the described installation and and things beyond that.  \n\n\u003chr width=\"100%\" size=\"2\"\u003e\n\n\u003cp align=\"center\"\u003eI loved the time when you could get also a hamburger :hamburger: for one euro!\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca target=\"_blank\" href=\"https://www.buymeacoffee.com/zentrocdot\"\u003e\u003cimg src=\"greeen-button.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003chr width=\"100%\" size=\"2\"\u003e\n\n## Other ways to donate\n\n\u003cp align=\"justify\"\u003eIf you like what I present here, or if it helps you, or if it is useful, you are welcome to donate a small contribution or a cup of coffee. Or as you might say: Every TRON counts! Many thanks in advance! :smiley:\u003c/p\u003e\n\n\u003cpre\u003eTQamF8Q3z63sVFWiXgn2pzpWyhkQJhRtW7            (TRON)\nDMh7EXf7XbibFFsqaAetdQQ77Zb5TVCXiX            (DOGE)\n12JsKesep3yuDpmrcXCxXu7EQJkRaAvsc5            (BITCOIN)\n0x31042e2F3AE241093e0387b41C6910B11d94f7ec    (Ethereum)\u003c/pre\u003e\n    \n\u003chr width=\"100%\" size=\"2\"\u003e\n\n\u003cp align=\"center\"\u003eFile last modified 27/02/2024\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzentrocdot%2Flibreoffice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzentrocdot%2Flibreoffice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzentrocdot%2Flibreoffice/lists"}