libreoffice-compilar/README.md
2022-03-07 23:35:25 -06:00

44 lines
1,015 B
Markdown

# libreoffice-compilar
## Configuración de repositorio de libreoffice
```
# echo "207.249.123.209 repos.libreoffice.gob.mx" >> /etc/hosts
# cat <<EOF>>/etc/yum.repos.d/libreoffice_gob.repo
[libreoffice_gob]
baseurl = http://repos.libreoffice.gob.mx/repos/builddeps
gpgcheck = 0
name = LibreOffice Mexico goverment repo
priority = 1
EOF
```
Este módulo es necesario para poder instalar el paquete `junit-1`
```
# dnf module enable javapackages-tools:201801
```
## Instalación de paquetes
```
# dnf builddep -y libreoffice
# dnf install -y java-11-openjdk-devel nasm
# alternatives --set javac /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-2.el8_5.x86_64/bin/javac
# alternatives --set java /usr/lib/jvm/java-11-openjdk-11.0.14.0.9-2.el8_5.x86_64/bin/java
```
## Compilación
```
$ git clone https://git.softwarelibre.mx/strepsirrhini/libreoffice.git
$ cd libreoffice
$ ./autogen.sh --with-system-libs
$ make
$ Be happy
```
# Referencias
* https://wiki.documentfoundation.org/Development/BuildingOnLinux/es