CentOS 6.4安装LibreOffice及字体安装
来源:互联网 发布:人工智能行业报告 编辑:程序博客网 时间:2024/05/10 01:29
最近由于遇到了要使用预览的功能,然后有一个doc转PDF的需求,然后需要使用libreoffice的功能,然后使用 soffice --headless --invisible --convert-to pdf /tmp/abc.docx --outdir /tmp/
就可以安装了。
libreoffice安装
[root@CentOS~]# yum install libreoffice[root@CentOS~]# yum install libreoffice-headless
字体安装
[root@CentOS~]# mkdir /usr/share/fonts/simsun##拷贝windows中的simsun.ttc到/usr/share/fonts/simsun/然后执行以下命令[root@CentOS~]#cd /usr/share/fonts/simsun[root@CentOS~]#mkfontscale[root@CentOS~]#mkfontdir[root@CentOS~]#fc-cache -fv执行以下命令让字体生效[root@CentOS~]#source /etc/profile
阅读全文
0 0
- CentOS 6.4安装LibreOffice及字体安装
- CentOS 6.4 精简安装桌面版安装LibreOffice
- centos安装libreoffice
- centos安装LibreOffice
- centos 安装libreOffice
- CentOS学习7_CentOS下安装Libreoffice
- CentOS下安装中文支持及字体
- centos 安装 Consolas 字体
- centos 安装字体
- Centos 安装Consolas字体
- Centos 字体安装
- CentOS安装字体
- centos安装字体
- ubuntu 安装 LibreOffice
- Win7下安装LibreOffice
- Linux下安装LibreOffice
- Fedora17 安装LibreOffice套件
- RedHat安装LibreOffice
- Ansible部署tomcat
- 用C语言打印菱形的技巧粗解
- win7 升级IE11报错(无法安装)
- 算法设计期末作业03-8.10
- RocketMQ学习:Pull和Push
- CentOS 6.4安装LibreOffice及字体安装
- yum 安装 VSFTPD
- asp.net mvc4应用程序发布、部署、常见问题
- automaticallyAdjustsScrollViewInsets
- 如何在eclipse下的tomcat中更改项目访问url
- java-接口之运动员教练员综合案例
- Oracle数据库的知识点总结(PL/sql)
- Ansible部署Java
- 根据二叉树的先序遍历和中序遍历重建二叉树