Redian新闻
>
centos/rhel 6.x x86_64安装wps
avatar
centos/rhel 6.x x86_64安装wps# Hardware - 计算机硬件
s*r
1
学计算机的phd都知道, 很多会议下面有些workshop, 一起开的, 我的一篇论文在那个
workshop上, 但是不是在主会议上. 会议本身还很牛, 我可以不提这个workshop, 直接
强调那个会议很牛么? 这样可以蒙混过关么?
avatar
y*b
2
ref:
https://www.centos.org/forums/viewtopic.php?t=45470
http://wps-community.org/forum/viewtopic.php?f=4&t=374
1. wget http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office-10.1.0.5707-1.a21.x86_64.rpm
2. sudo rpm -ivh --nodeps wps-office-10.1.0.5707-1.a21.x86_64.rpm
3. get the required versions of libstdc++ and libfreetype from the links
below:
http://rpm.pbone.net/index.php3?stat=26&dist=84&size=376849&name=freetype-2.4.8-4.fc17.x86_64.rpm
http://rpm.pbone.net/index.php3?stat=26&dist=84&size=277193&name=libstdc%2B%2B-4.7.0-5.fc17.x86_64.rpm
rpm2cpio freetype-2.4.8-4.fc17.x86_64.rpm | cpio -idmv
rpm2cpio libstdc++-4.7.0-5.fc17.x86_64.rpm | cpio -idmv
and find the 4 files and copy to wps installation location:
libfreetype.so.6.8.0
libfreetype.so.6
libstdc++.so.6.0.17
libstdc++.so.6
sudo cp lib* /opt/kingsoft/wps-office/office6/
4. install glibc2.14 separately!!!
wget https://ftp.gnu.org/gnu/libc/glibc-2.14.tar.gz
tar xf glibc-2.14.tar.gz
cd glibc-2.14
mkdir _build
cd _build/
export LD_LIBRARY_PATH= (if necessary)
../configure --prefix=/opt/glibc2.14
make -j12
sudo make install
5. run wps
export LD_LIBRARY_PATH=/opt/glibc2.14/lib
wps
wpp
et
wps和et退出时会显示: line 38: 64372 Segmentation fault (core dumped) ${
gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "[email protected]"
但不影响使用。
/opt/kingsoft/wps-office/office6/wpp: error while loading shared libraries:
liblzma.so.5: cannot open shared object file: No such file or directory
wpp这个问题很容易解决:
6. for wpp library issue
6.1
cd /usr/lib64
ln -s ../../lib64/libbz2.so.1 libbz2.so.1.0
6.2
http://rpm.pbone.net/index.php3/stat/4/idpl/33494697/dir/redhat_el_6/com/liblzma5-5.2.2-111.1.x86_64.rpm.html
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:
/AndreasStieger:/branches:/Archiving/RedHat_RHEL-6/x86_64/liblzma5-5.2.2-111
.1.x86_64.rpm
sudo rpm -ivh liblzma5-5.2.2-111.1.x86_64.rpm
avatar
s*i
3
你这是做什么?吃饱了没事儿干吗?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。