cenots Debian 安装openoffice
2016-05-25 14:41
351 查看
(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
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
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
相关文章推荐
- Centos中vim的配置
- Docker安装及基本使用方法
- Linux Shell系列教程之(四)Shell注释
- win7作为服务器,vm12虚拟机centos6访问win7上的ftp文件夹
- PAT (Advanced Level) 1044. Shopping in Mars (25)
- 一台机器上启动多个Tomcat
- Linux Shell系列教程之(三)Shell变量
- zabbix 监控tomcat的性能
- 基于x86架构的内核Demo的详细开发文档
- Spark快速入门指南
- 纯小白caffe实践(1)双系统Linux的安装(双硬盘)
- 启动Tomcat提示:指定的服务未安装
- hadoop命令详解
- linux下下载安装jdk
- Ubuntu14.0 nginx+php+mysql环境的搭建
- apache禁止解析php文件
- eclipse启用tomcat报服务被占用
- Dockerfile编写语法
- k8s v1.2 web界面——kubernetes-dashboard详解
- 利用docker 最新漏洞渗透--提取root 权限