#! /bin/bash # To install glibc-2.23 in /share/apps/glibc-2.23 # Required by Anaconda3 in Centos6 # mandatory requirement: zlib-devel.x86_64 yum install -y zlib-devel.x86_64 cd /share/apps/configrepo wget https://ftp.gnome.org/pub/gnome/sources/glib/2.23/glib-2.23.6.tar.gz tar -zxf glib-2.23.6.tar.gz cd glib-2.23.6 mkdir build cd build ../configure --prefix=/share/apps/glibc-2.23 make -j4 make install echo " " >> ~/.bashrc echo "export LD_LIBRARY_PATH=/share/apps/glibc-2.23/lib:$LD_LIBRARY_PATH" >> ~/.bashrc