红联Linux门户
Linux帮助

linux用RPM安装gcc成功

发布时间:2007-07-06 00:27:47来源:红联作者:TecCTO
复制以下RPM包到某个目录
compat-gcc-32-3.2.3-47.3.i386.rpm
compat-gcc-32-c++-3.2.3-47.3.i386.rpm
cpp-3.4.6-3.i386.rpm
gcc-3.4.6-3.i386.rpm
gcc-c++-3.4.6-3.i386.rpm
gcc-g77-3.4.6-3.i386.rpm
gcc-gnat-3.4.6-3.i386.rpm
gcc-java-3.4.6-3.i386.rpm
gcc-objc-3.4.6-3.i386.rpm
glibc-devel-2.3.4-2.25.i386.rpm
glibc-headers-2.3.4-2.25.i386.rpm
glibc-kernheaders-2.4-9.1.98.EL.i386.rpm
libgcc-3.4.6-3.i386.rpm

以上文件可以在
http://mirror.be10.com/centos/4/os/i386/CentOS/RPMS/
找到….

安装顺序
rpm -ivh cpp-3.4.6-3.i386.rpm

rpm -ivh glibc-kernheaders-2.4-9.1.98.EL.i386.rpm

rpm -ivh glibc-headers-2.3.4-2.25.i386.rpm

rpm -ivh glibc-devel-2.3.4-2.25.i386.rpm

rpm -ivh gcc-3.4.6-3.i386.rpm
文章评论

共有 0 条评论