Install WPS on CentOS

INSTALL

1.Download wps from the website:http://community.wps.cn/download/ or use the following command:
$wget http://community.wps.cn/download/wps-office-8.1.0.3724-0.1.b1p2.i686.rpm

2.Install rpm file without dependencies
$sudo rpm -ivh wps-office-8.1.0.3724-0.1.b1p2.i686.rpm –nodeps

3.Download libstdc++-4.8.2-7.fc20.i686.rpm from the website:http://rpm.pbone.net/index.php3/stat/4/idpl/25199571/dir/fedora_20/com/libstdc++-4.8.2-7.fc20.i686.rpm.html or use the following command:
$wget ftp://ftp.univie.ac.at/systems/linux/fedora/updates/20/x86_64/libstdc++-4.8.2-7.fc20.i686.rpm

I suppose your download location is ~/Downloads/libstdc++-4.8.2-7.fc20.i686.rpm

4.Unpack the rpm file
$cd ~/Downloads/
$rpm2cpio libstdc++-4.8.2-7.fc20.i686.rpm | cpio -idmv
$ls -al

We can find a usr folder.

5.Copy the lib file to the wps lib file
$sudo cp ~/Downloads/usr/lib/libstdc++.so.6.0.19 /opt/kingsoft/wps-office/office6/libstdc++.so.6

6.Install the dependencies
$sudo yum install -y glibc.i686 libX11.i686 freetype.i686 zlib.i686 glib2.i686 libpng.i686 libSM.i686 libICE.i686 libXrender.i686 libXext.i686 fontconfig.i686 cups-libs.i686

7.Now we can open the wps with icon of command($wps &). But when creating a new file, the wps will quit immediately, maybe the freetype is too old. Download freetype-2.4.11-6.fc19.i686.rpm from the website:http://rpm.pbone.net/index.php3/stat/4/idpl/21848898/dir/fedora_19/com/freetype-2.4.11-6.fc19.i686.rpm.html or use the following command:
$wget ftp://ftp.univie.ac.at/systems/linux/fedora/releases/19/Everything/i386/os/Packages/f/freetype-2.4.11-6.fc19.i686.rpm

I suppose your download location is ~/Downloads/freetype-2.4.11-6.fc19.i686.rpm

8.Unpack the rpm file and copy the lib to the proper folder.
$rpm2cpio freetype-2.4.11-6.fc19.i686.rpm | cpio -idmv
$sudo cp ~/Downloads/usr/lib/libfreetype.so.6.10.0 /opt/kingsoft/wps-office/office6/libfreetype.so.6

9.And now, you can use wps normally.

10.When you open it, it maybe says you lost your fonts, and you can goto the website:http://bbs.wps.cn/thread-22363500-1-1.html to find the solution of the problem.

ORIGINAL ARTICLE: http://bbs.wps.cn/thread-22412865-1-1.html
The download website in Origianl Article is incorrect, because it is reset and you can not visit it. Visit my link above will get correct file.