Created
July 19, 2018 00:17
-
-
Save umair-khokhar/11516a692a21d3de05751f50056bf4dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instruction for LibreOffice dependency installation | |
1. cd /usr/local | |
2. wget http://download.documentfoundation.org/libreoffice/stable/5.0.0/rpm/x86_64/LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz | |
3. cd LibreOffice_5.0.0_Linux_x86-64_rpm | |
4. yum localinstall *.rpm --skip-broken | |
5. yum install cairo | |
6. yum install cups | |
7. Update path by updating ~/.bashrc file. | |
export PATH="$PATH:/opt/libreoffice5.0/program" | |
8. sudo yum install libXinerama.x86_64 cups-libs dbus-glib | |
9. You are all set! | |
Updated download location now that 5.0 seems to be deprecated
http://download.documentfoundation.org/libreoffice/stable/5.0.0/rpm/x86_64/LibreOffice_5.0.0_Linux_x86-64_rpm.tar.gz
Latest:
(if it is not working, recommend looking for version at https://www.libreoffice.org/download/download-libreoffice)
Latest as of 4-Dec-2023:
(if it is not working, look for latest version at https://www.libreoffice.org/download/download-libreoffice)
@pranayjswl007 Thank you for update to the latest LibreOffice version.
Here is revisited instructions:
yum install -y wget-1.14 tar-1.26 gzip-1.5 cairo-1.15.12 cups-1.6.3 libXinerama.x86_64-1.1.3 cups-libs-1.6.3 dbus-glib-0.100
cd /usr/local
wget https://download.documentfoundation.org/libreoffice/stable/7.6.6/rpm/x86_64/LibreOffice_7.6.6_Linux_x86-64_rpm.tar.gz
tar -xvf LibreOffice_7.6.6_Linux_x86-64_rpm.tar.gz
cd LibreOffice_7.6.6.3_Linux_x86-64_rpm/RPMS/
yum localinstall -y *.rpm --skip-broken
Update path by updating ~/.bashrc (or some another) file.
export PATH="$PATH:/opt/libreoffice5.0/program"
Here is the same for the Dockerfile:
ENV PATH=${PATH}:/opt/libreoffice7.6/program
RUN set -ex && \
yum install -y yum install -y wget-1.14 tar-1.26 gzip-1.5 \
cairo-1.15.12 cups-1.6.3 \
libXinerama.x86_64-1.1.3 cups-libs-1.6.3 dbus-glib-0.100 && \
cd /usr/local && \
wget https://download.documentfoundation.org/libreoffice/stable/7.6.6/rpm/x86_64/LibreOffice_7.6.6_Linux_x86-64_rpm.tar.gz && \
tar -xvf LibreOffice_7.6.6_Linux_x86-64_rpm.tar.gz && \
cd LibreOffice_7.6.6.3_Linux_x86-64_rpm/RPMS/ && \
yum localinstall -y *.rpm --skip-broken
I am looking for libreoffice which supports Amazon Linux 2023 ARM64, can anyone help me with this.. thanks in advance.
@Ijaz0059
For Amazon Linux 2023
something like this:
sudo dnf install -y java-21-amazon-corretto
sudo yum install -y libXinerama cups-libs
wget https://download.documentfoundation.org/libreoffice/stable/7.6.6/rpm/x86_64/LibreOffice_7.6.6_Linux_x86-64_rpm.tar.gz
tar -xvf LibreOffice_7.6.6_Linux_x86-64_rpm.tar.gz
dnf install -y LibreOffice_7.6.6.3_Linux_x86-64_rpm/RPMS/*.rpm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do we start it, i want to start Libra Office in background to other application can consume it.