Linux安装WPS (附glibc和字体安装包)

1、glibc2.18安装

新版WPS软件要求glibc的软件版本要大于等于 2.18 ,不然安装完成后会出现打不开的情况。

该软件的获取方法:

[root@localhost ~]# wget http://ftp.gnu.org/gnu/libc/glibc-2.18.tar.gz

也可以从附件中直接下载。

切换到此软件下载到的目录,解压:

[root@localhost ~]# tar xvf glibc-2.18.tar.gz

[root@localhost ~]# cd glibc-2.18  #切换到解压后的目录

[root@localhost ~]# mkdir build    #创建一个目录 ,此操作需要root权限

[root@localhost ~]# cd build       #进入到我们刚刚创建的目录  

[root@localhost ~]# ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin    #进行安装
or
[root@localhost ~]# ../configure --prefix=/usr 

[root@localhost ~]# make -j4       #编译

[root@localhost ~]# make install   #编译安装

libc不同版本可在机器里共存 查看命令:

[root@localhost ~]# ldd --version

可看到最高可支持版本变为2.18。

[root@localhost ~]# String

猜你喜欢

转载自blog.csdn.net/qq_35029061/article/details/132166250