下载rarlinux和其运行需要的glibc-2.14
[root@localhost ~]# wget https://www.rarlab.com/rar/rarlinux-x64-5.9.0.tar.gz
[root@localhost ~]# wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
安装glibc-2.14
[root@localhost ~]# tar zxvf glibc-2.14.tar.gz
[root@localhost ~]# cd glibc-2.14/
[root@localhost glibc-2.14]# mkdir build && cd build
[root@localhost build]# …/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
如果报错configure: error: no acceptable C compiler found in $PATH
,需要yum install gcc
[root@localhost build]# make -j 8
经过很长时间的输出
…
make[4]: Nothing to be done for rtld-all'. make[4]: Leaving directory
/root/glibc-2.14/string’
make[4]: Entering directory /root/glibc-2.14/nptl' make[4]: Nothing to be done for
rtld-all’.
make[4]: Leaving directory /root