Install wps in centos6.4

Source: Internet
Author: User
Today, I tried to download wps and finally succeeded. Method 1: solve the lack of libstdc ++. so.6 (GLIBCXX_3.4.14) on CentOS6.4 install Kingsoft wpskingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package, error wpsRequires: libstdc ++. so.6 (GLIBCXX_3.4.14 ). Solution: 1. First, ignore the dependency check. Today, wps is successfully downloaded. the method is as follows:
1. solve the lack of libstdc ++. so.6 (GLIBCXX_3.4.14)
Install Kingsoft wps kingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package on CentOS6.4 with the error wps Requires: libstdc ++. so.6 (GLIBCXX_3.4.14 ).

Solution:
1. first ignore dependency check to install the kingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package
  1. Sudo rpm-ivh kingsoft-office-9.1.0.4032-0.1.a10.i686.rpm package -- nodeps
Copy code 2. download libstdc ++-4.7.0-5. fc17.i686. rpm Package,: http://pkgs.org/fedora-17/fedora-i386/libstdc++-4.7.0-5.fc17.i686.rpm/download/
3. decompress the rpm Package
  1. Rpm2cpio libstdc ++-4.7.0-5. fc17.i686. rpm | cpio-idmv
Copy the code 4. copy and unzip the usr/lib/libstdc ++. so.6.0.17 directory to the wps installation directory "/opt/kingsoft/wps-office/office6 /"
5. go to the "/opt/kingsoft/wps-office/office6/" directory and create a soft link.
  1. Sudo ln-s libstdc ++. so.6.0.17 libstdc ++. so.6
Copy code 6. edit the/usr/bin/wps file, and add the following lines at the beginning.
  1. Export LD_LIBRARY_PATH =/opt/kingsoft/wps-office/office6 :$ {LD_LIBRARY_PATH}
Copy the code and start wps.

After this step, I started to crash and found a solution to the crash.

2. fixed the document creation error.
On CentOS 6.4, the wps new document error symbol lookup error:/opt/kingsoft/wps-office/office6/libftex. so: undefined symbol: FT_Reference_Face solution

Problem: This is because the freetype library of the wps version needs to be updated.

Solution:

1. first download the new version of lib: ftp://rpmfind.net/linux/fedora/linux/updates/17/x86_64/freetype-2.4.8-4.fc17.i686.rpm

2. decompress the rpm Package
  1. Rpm2cpio freetype-2.4.8-4.fc17.i686.rpm | cpio-idmv
Copy code 3. copy and unzip the directory usr/lib/libfreetype. so.6.8.0 to the wps installation directory "/opt/kingsoft/wps-office/office6"
4. go to the "/opt/kingsoft/wps-office/office6/" directory and create a soft link.
  1. Sudo ln-s libfreetype. so.6.8.0 libfreetype. so.6
Copy the code 5. edit the/usr/bin/wps file and add the following lines at the beginning (this is the same as the first step)
  1. Export LD_LIBRARY_PATH =/opt/kingsoft/wps-office/office6 :$ {LD_LIBRARY_PATH}
Copy the code and start wps to create a new document.

After that, the wps on my computer can be used normally...
I also encountered a missing font problem. I have answers on the wps Forum, but I don't have any fonts folder. it seems that it is the font required for using the formula, and I cannot use it either, ignore ..
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.