Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save umair-khokhar/11516a692a21d3de05751f50056bf4dd to your computer and use it in GitHub Desktop.
Save umair-khokhar/11516a692a21d3de05751f50056bf4dd to your computer and use it in GitHub Desktop.
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!
@Ijaz0059
Copy link

Ijaz0059 commented Apr 9, 2024

I am looking for libreoffice which supports Amazon Linux 2023 ARM64, can anyone help me with this.. thanks in advance.

@cavasinf
Copy link

cavasinf commented Apr 18, 2024

@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

@tack-pinkfigaro-biz
Copy link

I am looking for libreoffice which supports Amazon Linux 2023 ARM64, can anyone help me with this.. thanks in advance.

me too,,,

I tried this .
https://wiki.documentfoundation.org/Development/BuildingOnLinux

sudo dnf builddep libreoffice

can not resolv dependencies...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment