Redhat上安装libreoffice

LibreOffice is an open source and much powerful personal productivity office suit for LinuxWindows &Mac, that provides feature rich functions for word document, data processing, spreadsheets, presentation, drawing, Calc, Math and much more. LibreOffice has large number of satisfied users across the globe with almost 120 million downloads as of now. It supports more than 110 languages and runs on all major operating systems.

Install LibreOffice 5.0 in Linux

Install LibreOffice 5.0 in Linux

Update: Apache OpenOffice 4.1.2 Released – Install on RedHat and Debian Based Distributions

The Document Foundation team proudly announced the third stable release of the 5.0.x branch of LibreOffice on September 23, 2015, is now available for all major platforms including LinuxWindows andMac OS. This new update features a large number of exciting new features, performance and improvements and is targeted to all kinds of users, but especially appealing for enterprise power users.

There are many other changes included in the newest LibreOffice 5.0.2 – for a complete list of new features, see the release announcement page.

LibreOffice 5.0.2 Requirements
  1. Kernel 2.6 or higher version
  2. glibc 2.10 or higher version
  3. gtk version 2.10 or higher
  4. Minimum 256MB and recommended 512MB RAM
  5. 1.55GB available Hard disk space
  6. Desktop (Gnome or KDE)

Install LibreOffice 5.0.2 on Linux

The installation instructions provided here are for LibreOffice 5.0.2 using language US English on a 32-Bitsystem. For 64-Bit systems, there will be minor differences in directory names, but the installation process is same and hope the installation instructions provide here are not so difficult.

Step 1: Downloading LibreOffice 5.0.2

Select the package for download based on your system bit (i.e. for a 32-bit or 64-bit) using Wget command.

For RHEL/CentOS/Fedora
# cd /tmp

---------------------------- On 32-bit Systems ---------------------------- 
# wget http://download.documentfoundation.org/libreoffice/stable/5.0.2/rpm/x86/LibreOffice_5.0.2_Linux_x86_rpm.tar.gz


---------------------------- On 64-bit Systems ---------------------------- 
# wget http://download.documentfoundation.org/libreoffice/stable/5.0.2/rpm/x86_64/LibreOffice_5.0.2_Linux_x86-64_rpm.tar.gz
Download LibreOffice 5.0.2 on CentOS
[root@TecMint ~]# wget http://download.documentfoundation.org/libreoffice/stable/5.0.2/rpm/x86/LibreOffice_5.0.2_Linux_x86_rpm.tar.gz
--2015-09-26 01:36:17--  http://download.documentfoundation.org/libreoffice/stable/5.0.2/rpm/x86/LibreOffice_5.0.2_Linux_x86_rpm.tar.gz
Resolving download.documentfoundation.org (download.documentfoundation.org)... 5.9.148.85, 2a01:4f8:190:3144::2
Connecting to download.documentfoundation.org (download.documentfoundation.org)|5.9.148.85|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/5.0.2/rpm/x86/LibreOffice_5.0.2_Linux_x86_rpm.tar.gz [following]
--2015-09-26 01:36:17--  http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/5.0.2/rpm/x86/LibreOffice_5.0.2_Linux_x86_rpm.tar.gz
Resolving ftp5.gwdg.de (ftp5.gwdg.de)... 134.76.12.5, 2001:638:60f:110::1:1
Connecting to ftp5.gwdg.de (ftp5.gwdg.de)|134.76.12.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 223849856 (213M) [application/x-gzip]
Saving to: ‘LibreOffice_5.0.2_Linux_x86_rpm.tar.gz’

100%[======================================>] 22,38,49,856 2.24MB/s   in 7m 24s 

2015-09-26 01:43:42 (492 KB/s) - ‘LibreOffice_5.0.2_Linux_x86_rpm.tar.gz’ saved [223849856/223849856]
For Debian/Ubuntu/LinuxMint
---------------------------- On 32-bit Systems ---------------------------- 
$ wget http://download.documentfoundation.org/libreoffice/stable/5.0.2/deb/x86/LibreOffice_5.0.2_Linux_x86_deb.tar.gz


---------------------------- On 64-bit Systems ---------------------------- 
$ wget http://download.documentfoundation.org/libreoffice/stable/5.0.2/deb/x86_64/LibreOffice_5.0.2_Linux_x86-64_deb.tar.gz
Download LibreOffice 5.0.2 on Ubuntu
tecmint  ~  wget http://download.documentfoundation.org/libreoffice/stable/5.0.2/deb/x86/LibreOffice_5.0.2_Linux_x86_deb.tar.gz
--2015-09-26 11:22:07--  http://download.documentfoundation.org/libreoffice/stable/5.0.2/deb/x86/LibreOffice_5.0.2_Linux_x86_deb.tar.gz
Resolving download.documentfoundation.org (download.documentfoundation.org)... 5.9.148.85, 2a01:4f8:190:3144::2
Connecting to download.documentfoundation.org (download.documentfoundation.org)|5.9.148.85|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/5.0.2/deb/x86/LibreOffice_5.0.2_Linux_x86_deb.tar.gz [following]
--2015-09-26 11:22:08--  http://ftp5.gwdg.de/pub/tdf/libreoffice/stable/5.0.2/deb/x86/LibreOffice_5.0.2_Linux_x86_deb.tar.gz
Resolving ftp5.gwdg.de (ftp5.gwdg.de)... 134.76.12.5, 2001:638:60f:110::1:1
Connecting to ftp5.gwdg.de (ftp5.gwdg.de)|134.76.12.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 224133683 (214M) [application/x-gzip]
Saving to: ‘LibreOffice_5.0.2_Linux_x86_deb.tar.gz.1’

100%[======================================>] 22,41,33,683 3.53MB/s   in 89s    

2015-09-26 11:23:37 (2.40 MB/s) - ‘LibreOffice_5.0.2_Linux_x86_deb.tar.gz.1’ saved [224133683/224133683]
Step 2: Removing Old OpenOffice Version

If any previously installed LibreOffice or OpenOffice versions you have, remove it using following command.

# yum remove openoffice* libreoffice*			[on RedHat based Systems]
Remove Old LibreOffice 4 on CentOS

Remove Old LibreOffice 4 on CentOS

$ sudo apt-get remove openoffice* libreoffice*		[On Debian based Systems]
Remove LibreOffice 4 on Ubuntu

Remove LibreOffice 4 on Ubuntu

Step 3: Extracting LibreOffice 5.0.2 Package

After downloading the LibreOffice 5.0.2 package, use tar command to extract it under /tmp directory or in a directory of your choice.

On RHEL/CentOS/Fedora
# tar -xvf LibreOffice_5.0.2_Linux_x86_rpm.tar.gz			[On 32-Bit Systems]	
# tar -xvf LibreOffice_5.0.2_Linux_x86-64_rpm.tar.gz			[On 64-Bit Systems]	
On Debian/Ubuntu/Linux Mint
$ tar -xvf LibreOffice_5.0.2_Linux_x86_deb.tar.gz			[On 32-Bit Systems]	
$ tar -xvf LibreOffice_5.0.2_Linux_x86-64_deb.tar.gz			[On 64-Bit Systems]	
Step 4: Installing LibreOffice 5.0.2 Package

After extracting the package, you will get a directory and under this there will be a sub-directory called RPMS. Now, run the following command to install it.

On RHEL/CentOS/Fedora
## For 32 Bit OS ##
# cd /tmp/LibreOffice_5.0.2.2_Linux_x86_rpm/RPMS/
# yum localinstall *.rpm
OR
# dnf install *.rpm

## For 64 Bit OS ##
# cd /tmp/LibreOffice_5.0.2.2_Linux_x86-64_rpm/RPMS/
# yum localinstall *.rpm
/or
# dnf install *.rpm
Installing LibreOffice 5.0.2 on CentOS
[root@localhost RPMS]# yum localinstall *.rpm
Loaded plugins: fastestmirror, langpacks
Examining libobasis5.0-base-5.0.2.2-2.i586.rpm: libobasis5.0-base-5.0.2.2-2.i586
Marking libobasis5.0-base-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-calc-5.0.2.2-2.i586.rpm: libobasis5.0-calc-5.0.2.2-2.i586
Marking libobasis5.0-calc-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-core-5.0.2.2-2.i586.rpm: libobasis5.0-core-5.0.2.2-2.i586
Marking libobasis5.0-core-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-draw-5.0.2.2-2.i586.rpm: libobasis5.0-draw-5.0.2.2-2.i586
Marking libobasis5.0-draw-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-en-US-5.0.2.2-2.i586.rpm: libobasis5.0-en-US-5.0.2.2-2.i586
Marking libobasis5.0-en-US-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-en-US-base-5.0.2.2-2.i586.rpm: libobasis5.0-en-US-base-5.0.2.2-2.i586
Marking libobasis5.0-en-US-base-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-en-US-calc-5.0.2.2-2.i586.rpm: libobasis5.0-en-US-calc-5.0.2.2-2.i586
Marking libobasis5.0-en-US-calc-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-en-US-math-5.0.2.2-2.i586.rpm: libobasis5.0-en-US-math-5.0.2.2-2.i586
Marking libobasis5.0-en-US-math-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-en-US-res-5.0.2.2-2.i586.rpm: libobasis5.0-en-US-res-5.0.2.2-2.i586
Marking libobasis5.0-en-US-res-5.0.2.2-2.i586.rpm to be installed
Examining libobasis5.0-en-US-writer-5.0.2.2-2.i586.rpm: libobasis5.0-en-US-writer-5.0.2.2-2.i586
On Debian/Ubuntu/Linux Mint
## For 32 Bit OS ##
$ cd /tmp/LibreOffice_5.0.2.2_Linux_x86_deb/DEBS/
$ sudo dpkg -i *.deb

## For 64 Bit OS ##
$ cd /tmp/LibreOffice_5.0.2.2_Linux_x86-64_deb/DEBS/
$ sudo dpkg -i *.deb
Installing LibreOffice 5.0.2 on Ubuntu
tecmint@tecmint ~/LibreOffice_5.0.2.2_Linux_x86_deb/DEBS $ sudo dpkg -i *.deb
(Reading database ... 216320 files and directories currently installed.)
Preparing to unpack libobasis5.0-base_5.0.2.2-2_i386.deb ...
Unpacking libobasis5.0-base (5.0.2.2-2) over (5.0.0.5-5) ...
Preparing to unpack libobasis5.0-calc_5.0.2.2-2_i386.deb ...
Unpacking libobasis5.0-calc (5.0.2.2-2) over (5.0.0.5-5) ...
Preparing to unpack libobasis5.0-core_5.0.2.2-2_i386.deb ...
Unpacking libobasis5.0-core (5.0.2.2-2) over (5.0.0.5-5) ...
Preparing to unpack libobasis5.0-draw_5.0.2.2-2_i386.deb ...
Unpacking libobasis5.0-draw (5.0.2.2-2) over (5.0.0.5-5) ...
Preparing to unpack libobasis5.0-en-us_5.0.2.2-2_i386.deb ...
Unpacking libobasis5.0-en-us (5.0.2.2-2) over (5.0.0.5-5) ...
Preparing to unpack libobasis5.0-en-us-base_5.0.2.2-2_i386.deb ...
Unpacking libobasis5.0-en-us-base (5.0.2.2-2) over (5.0.0.5-5) ...
Step 5: Starting LibreOffice 5.0.2 Package

Once the installation process completes you will have LibreOffice icons in your desktop under Applications–> Office menu or start the application by executing the following command on the terminal.

# libreoffice5.0
Step 6: Screenshots of LibreOffice 5.0.2

Please see the attached screenshots of LibreOffice 5.0.2 application under my CentOS 7.0.

Starting LibreOffice 5.0 on CentOS 7

Starting LibreOffice 5.0 on CentOS 7

LibreOffice 5.0 HomePage

LibreOffice 5.0 HomePage

LibreOffice Writer Document

LibreOffice Writer Document

LibreOffice Calc Spreadsheet

LibreOffice Calc Spreadsheet

LibreOffice Draw Drawing

LibreOffice Draw Drawing

LibreOffice Impress Presentation

LibreOffice Impress Presentation

LibreOffice Math Formula

LibreOffice Math Formula

About LibreOffice 5.0 Version

About LibreOffice 5.0 Version

Step 7: Installing a Language Pack

If you would like to install LibreOffice in your preferred language, you should select your language pack for installation. The installation instructions can be fount at Language Pack section.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值