centos-libreoffice安裝

破棉襖發表於2014-11-04
1. 下載LibreOffice 4.1.1   LibreOffice_4.1.1_Linux_x86_rpm.tar.gz

2. 刪除已安裝的libreoffice or openoffice

# yum remove openoffice.org* libreoffice.org*

3. 解壓LibreOffice 4.1.1 安裝包
#tar -xvf LibreOffice_4.1.1_Linux_x86-64_rpm.tar.gz

4. 安裝 LibreOffice 4.1.1 Package

## For 32 Bit OS ##

# cd /tmp/LibreOffice_4.1.1_Linux_x86_rpm/RPMS/

# yum localinstall *.rpm

# yum localinstall desktop-integration/libreoffice4.0-freedesktop-menus-4.1.1*.noarch.rpm

## For 64-Bit OS ##
# tar -xvf LibreOffice_4.1.1_Linux_x86-64_rpm.tar.gz
# cd /tmp/LibreOffice_4.1.1_Linux_x86-64_rpm/RPMS/
# yum localinstall *.rpm
# yum localinstall desktop-integration/libreoffice4.0-freedesktop-menus-4.1.1*.noarch.rpm
PS: libreoffice4.0-freedesktop-menus-4.1.1*.noarch.rpm的路徑問題:有的位於RPMS/desktop-integration目錄下,有的位於RPMS下.不過,無論在那個目錄下,直接安裝就可以了.

5. 啟動
#/opt/libreoffice4.1/program/soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nofirststartwizard


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29754888/viewspace-1319679/,如需轉載,請註明出處,否則將追究法律責任。

相關文章