欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 新闻 > 资讯 > LINUX编译LibreOffice

LINUX编译LibreOffice

2025/1/20 20:24:08 来源:https://blog.csdn.net/quantum7/article/details/144866603  浏览:    关键词:LINUX编译LibreOffice
  • 安装依赖
sudo apt update
sudo apt install -y build-essential nasm git-core gnupg flex bison gperf libx11-dev \
libxext-dev libxrender-dev libxt-dev libxslt1-dev libglu1-mesa-dev \
libcairo2-dev libharfbuzz-dev libnss3-dev libnspr4-dev \
autoconf automake libtoolsudo apt install -y libpango1.0-dev xsltproc libxml2-utils python3-dev libkrb5-dev libcups2-dev libxrandr-dev libgtk-3-dev libgstreamer1.0-0 gstreamer1.0-plugins-basesudo apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools  gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5sudo apt install -y openjdk-21-jdk
  • 下载源码

https://github.com/LibreOffice/core/tags

git clone https://github.com/LibreOffice/core.git libreoffice-core
cd libreoffice-core
  • 编译
INSTALL_DIR=${HOME}/LibreOffice-Test./autogen.sh./configure \--prefix=${INSTALL_DIR} \--disable-gstreamer-1-0 \--without-junitmake -j8
make install

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com