1.tar -zxvfApache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_zh-CN.tar.gz
2.cd zh-CN
3.rpm -Uvh RPMS/*.rpm
4.rpm -Uvh RPMS/desktop-integration/openoffice4.1-redhat-menus-4.1-9764.noarch.rpm
第四步出现错误 file/usr/bin/soffice from install of openoffice4.1-redhat-menus-4.1-9764.noarchconflicts with file from package libreoffice-core-1:3.4.5.2-16.1.el6_3.x86_64
解决办法:卸载掉libreoffice-core-1:3.4.5.2-16.1.el6_3.x86_64再次安装
5.卸载 yum -y remove libreoffice-core-1:3.4.5.2-16.1.el6_3.x86_64
6.rpm -Uvh RPMS/desktop-integration/openoffice4.1-redhat-menus-4.1-9764.noarch.rpm
安装成功 测试是否成功 启动openoffice
7. soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &
时间: 2024-10-13 21:57:16