码迷,mamicode.com
首页 > 其他好文 > 详细

libreoffice安装

时间:2016-04-03 22:20:23      阅读:1393      评论:0      收藏:0      [点我收藏+]

标签:

  centos7下libreoffice的安装

#下载安装包
wget
http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/5.1.1/rpm/x86_64/LibreOffice_5.1.1_Linux_x86-64_rpm.tar.gz tar -xvf LibreOffice_5.1.1_Linux_x86-64_rpm.tar.gz [root@localhost ~]# cd LibreOffice_5.1.1.3_Linux_x86-64_rpm/ [root@localhost LibreOffice_5.1.1.3_Linux_x86-64_rpm]# ll total 16 -rwxr-xr-x 1 root root 10490 Mar 2 21:24 install drwxr-xr-x 2 root root 25 Mar 2 21:24 readmes drwxrwxr-x 2 root root 4096 Mar 2 21:24 RPMS [root@localhost LibreOffice_5.1.1.3_Linux_x86-64_rpm]# cd RPMS/
#安装 [root@localhost RPMS]# yum install *.rpm

  安装语言包

#下载语言包
wget
http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/5.1.1/rpm/x86_64/LibreOffice_5.1.1_Linux_x86-64_rpm_langpack_zh-CN.tar.gz [root@localhost RPMS]# tar -xvf LibreOffice_5.1.1_Linux_x86-64_rpm_langpack_zh-CN.tar.gz LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/ LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/ LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libobasis5.1-zh-CN-writer-5.1.1.3-3.x86_64.rpm LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libobasis5.1-zh-CN-math-5.1.1.3-3.x86_64.rpm LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libobasis5.1-zh-CN-base-5.1.1.3-3.x86_64.rpm LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libreoffice5.1-zh-CN-5.1.1.3-3.x86_64.rpm LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libobasis5.1-zh-CN-5.1.1.3-3.x86_64.rpm LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libobasis5.1-zh-CN-calc-5.1.1.3-3.x86_64.rpm LibreOffice_5.1.1.3_Linux_x86-64_rpm_langpack_zh-CN/RPMS/libobasis5.1-zh-CN-res-5.1.1.3-3.x86_64.rpm #安装语言包 [root@localhost RPMS]# yum install *.rpm

  安装依赖

[root@sso logs]# /usr/bin/libreoffice5.1 --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard
/opt/libreoffice5.1/program/soffice.bin: error while loading shared libraries: libcairo.so.2: cannot open shared object file: No such file or directory
#缺少libcairo.so.2依赖库
yum install ibus

  启动服务

/usr/bin/libreoffice5.1 --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard

libreoffice安装

标签:

原文地址:http://www.cnblogs.com/rwxwsblog/p/5350802.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!