cenots Debian 安装openoffice

(1)创建一个文件夹

mkdir openoffice

(2)删除老的openoffice 

sudo apt-get remove openoffice* libreoffice*   (Debian 删除openoffice方式)

yum remove openoffice* libreoffice*    (centos 删除openoffice方式)

(3)如果是Debian 

---------------------------- On 32-bit Systems ---------------------------- 
# wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_en-US.tar.gz

---------------------------- On 64-bit Systems ---------------------------- 
# wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86_install-deb_en-US.tar.gz

(4)如果 RedHad 

---------------------------- On 32-bit Systems ---------------------------- 
# wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz


---------------------------- On 64-bit Systems ---------------------------- 
# wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86_install-rpm_en-US.tar.gz


(5)提取openoffice 4.1.2 包

-------------------- On Debian and its Derivatives -------------------- 
# tar -xvf Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_en-US.tar.gz[For 32-bit]
# tar -xvf Apache_OpenOffice_4.1.2_Linux_x86_install-deb_en-US.tar.gz[For 64-bit]


-------------------- On RedHat based Systems -------------------- 
# tar -xvf Apache_OpenOffice_4.1.2_Linux_x86_install-rpm_en-US.tar.gz[For 64-bit]
# tar -xvf Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz[For 32-bit]

(6)安装openoffice 4.1.2 包

-------------------- On Debian and its Derivatives -------------------- 
# dpkg -i en-US/DEBS/*.deb en-US/DEBS/desktop-integration/openoffice4.1-debian-*.deb




-------------------- On RedHat based Systems -------------------- 
# rpm -Uvh en-US/RPMS/*.rpm en-US/RPMS/desktop-integration/openoffice4.1.2-redhat-*.rpm


(7)启动openoffice 4.1.2

# openoffice4

wget http://10.1.0.64/pkgs/openoffice/RPMS.rar

yum install unrar

unrar e RPMS.rar

rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice4.1.2-redhat-*.rpm

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值