1. RPM下载站:ftp.sunet.se
i386、x86_64都有
我用强大的lftp下载,这个下载命令可以tab补全。
2.安装方法
Redhat Enterprise 5.4
先下载所需要RPM包:
glibc-2.9-2.x86_64.rpm libgcc-4.3.2-7.x86_64.rpm
binutils-2.18.50.0.9-7.fc10.x86_64.rpm glibc-common-2.9-2.x86_64.rpm libgfortran-4.3.2-7.x86_64.rpm
cpp-4.3.2-7.x86_64.rpm libgomp-4.3.2-7.x86_64.rpm
download glibc-devel-2.9-2.x86_64.rpm libstdc++-4.3.2-7.x86_64.rpm
gcc-4.3.2-7.x86_64.rpm glibc-headers-2.9-2.x86_64.rpm libstdc++-devel-4.3.2-7.x86_64.rpm
gcc-c++-4.3.2-7.x86_64.rpm gmp-4.2.2-8.fc10.x86_64.rpm mpfr-2.3.2-1.fc10.x86_64.rpm
gcc-gfortran-4.3.2-7.x86_64.rpm gmp-devel-4.2.2-8.fc10.x86_64.rpm
运行下面安装脚本:
#!/bin/bash
#
# Install RPM packages
#
#
# 按顺序安装
rpm -Uvh --nodeps --replacefiles binutils-2.18.50.0.9-7.fc10.x86_64.rpm
rpm -Uvh --nodeps --replacefiles glibc-common-2.9-2.x86_64.rpm
rpm -Uvh --nodeps --replacefiles glibc-headers-2.9-2.x86_64.rpm
rpm -Uvh --nodeps --replacefiles glibc-devel-2.9-2.x86_64.rpm
rpm -Uvh --nodeps --replacefiles glibc-2.9-2.x86_64.rpm
#
rpm -Uvh --nodeps --replacefiles cpp-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles libgomp-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles libstdc++-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles libstdc++-devel-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles libgfortran-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles libgcc-4.3.2-7.x86_64.rpm
#
rpm -Uvh --nodeps --replacefiles gcc-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles gcc-c++-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles gcc-gfortran-4.3.2-7.x86_64.rpm
rpm -Uvh --nodeps --replacefiles glibc-headers-2.9-2.x86_64.rpm
#
#rpm -ivh glibc-headers-2.9-2.x86_64.rpm
#rpm -evh glibc-headers-2.9-2.x86_64.rpm
#rpm -e glibc-headers-2.9-2.x86_64.rpm
#rpm -ivh glibc-headers-2.9-2.x86_64.rpm
#
rpm -Uvh --nodeps --replacefiles mpfr-2.3.2-1.fc10.x86_64.rpm
# Install CURL
#ln -s /usr/lib64/libcurl.so.3 /usr/lib64/libcurl.so.4
这种安装方法快速简单