`

CentOS rpm 离线安装 gcc

    博客分类:
  • gcc
阅读更多
1.从http://www.rpmfind.net/linux/rpm2html/search.php下载
cloog-ppl-0.15.7-1.2.el6.x86_64.rpm,                                                                        
cpp-4.4.6-4.el6.x86_64.rpm ,
gcc-4.4.6-4.el6.x86_64.rpm ,
glibc-devel-2.12-1.80.el6.x86_64.rpm,                                                                       
glibc-headers-2.12-1.80.el6.x86_64.rpm  ,                                                                   
kernel-headers-2.6.32-279.el6.x86_64.rpm ,                                                                  
libgomp-4.4.6-4.el6.x86_64.rpm ,                                                                          
mpfr-2.4.1-6.el6.x86_64.rpm ,
ppl-0.10.2-11.el6.x86_64.rpm
2.rpm按顺序安装
                                                                 
[root@localhost gcc]# rpm -Uvh kernel-headers-2.6.32-279.el6.x86_64.rpm        
warning: kernel-headers-2.6.32-279.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY                                                        
Preparing...                ########################################### [100%] 
   1:kernel-headers         ########################################### [100%] 
[root@localhost gcc]# rpm -Uvh gcc-4.4.6-4.el6.x86_64.rpm
warning: gcc-4.4.6-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY                                                                      
error: Failed dependencies:                                                    
        cloog-ppl >= 0.15 is needed by gcc-4.4.6-4.el6.x86_64                  
        cpp = 4.4.6-4.el6 is needed by gcc-4.4.6-4.el6.x86_64                  
        glibc-devel >= 2.2.90-12 is needed by gcc-4.4.6-4.el6.x86_64           
[root@localhost gcc]# rpm -Uvh glibc-headers-2.12-1.80.el6.x86_64.rpm
warning: glibc-headers-2.12-1.80.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY                                                          
Preparing...                ########################################### [100%] 
   1:glibc-headers          ########################################### [100%] 
[root@localhost gcc]# rpm -Uvh glibc-devel-2.12-1.80.el6.x86_64.rpm
warning: glibc-devel-2.12-1.80.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY                                                            
Preparing...                ########################################### [100%] 
   1:glibc-devel            ########################################### [100%] 
[root@localhost gcc]# rpm -Uvh libgomp-4.4.6-4.el6.x86_64.rpm
warning: libgomp-4.4.6-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY                                                                  
Preparing...                ########################################### [100%] 
        package libgomp-4.4.6-4.el6.x86_64 is already installed                

[root@localhost gcc]# rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
warning: ppl-0.10.2-11.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
        package ppl-0.10.2-11.el6.x86_64 is already installed
[root@localhost gcc]# rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
warning: cloog-ppl-0.15.7-1.2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
        package cloog-ppl-0.15.7-1.2.el6.x86_64 is already installed
[root@localhost gcc]# rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
warning: mpfr-2.4.1-6.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:mpfr                   ########################################### [100%]
[root@localhost gcc]# rpm -ivh cpp-4.4.6-4.el6.x86_64.rpm
warning: cpp-4.4.6-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [100%]
[root@localhost gcc]# rpm -ivh gcc-4.4.6-4.el6.x86_64.rpm
warning: gcc-4.4.6-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:gcc                    ########################################### [100%]


[root@localhost gcc]# rpm -Uvh gcc-4.4.6-4.el6.x86_64.rpm
warning: gcc-4.4.6-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
        package gcc-4.4.6-4.el6.x86_64 is already installed
[root@localhost gcc]# rpm -qa|grep gcc
gcc-4.4.6-4.el6.x86_64
libgcc-4.4.6-4.el6.x86_64
分享到:
评论

相关推荐

    centos7离线安装gcc4.8

    在CentOS7操作系统中,离线安装GCC 4.8是一项必要的任务,特别是当你没有互联网连接或者需要在安全隔离的环境中工作时。GCC(GNU Compiler Collection)是GNU项目的一个核心部分,它是一套用于编译C、C++、Objective...

    centos7 离线安装gcc pcre-devel openssl-devel zlib-devel

    1.离线安装gcc pcre-devel openssl-devel zlib-devel 下载路径 http://mirrors.163.com/centos/7.4.1708/os/x86_64/Packages/ autogen-libopts-5.18-5.el7.x86_64.rpm cpp-4.8.5-16.el7.x86_64.rpm gcc-4.8.5-16....

    centos离线安装gcc所需要的rpm包

    本文将详细介绍如何在CentOS上离线安装GCC所需的RPM包。 首先,理解RPM(Red Hat Package Manager)是Linux系统中用于管理软件包的一种机制。RPM包包含了软件的所有组件、依赖关系以及安装和卸载的脚本,使得安装...

    centos7.4离线安装gcc相关rpm

    用于centos7.4离线安装gcc、g++,压缩包包含binutils-devel-2.25.1-31.base.el7.x86_64.rpm cpp-4.8.5-16.el7.x86_64.rpm gcc-4.8.5-16.el7.x86_64.rpm gcc-c++-4.8.5-16.el7.x86_64.rpm glib2-2.50.3-3.el7.x86_...

    centos/redhat离线安装gcc及其依赖的rpm包

    标题提到的是离线安装GCC(GNU Compiler Collection)及其依赖的RPM包,这在没有网络连接或者网络环境不稳定的情况下非常实用。 GCC是开源的编译器集合,用于将C、C++、Fortran、Java等多种编程语言的源代码编译成...

    CentOS7.5 gcc rpm离线依赖安装包(包含教程)

    1. **收集依赖**:首先,你需要找到所有GCC安装需要的RPM包,包括直接依赖和间接依赖。这通常需要在有网络的机器上搜索并下载。在这个压缩包“gcc_rpm_centos7.5”中,包含了这些必要的RPM文件。 2. **转移文件**:...

    CentOS7 nginx离线安装gcc/pcre-devel/openssl-devel/zlib-devel包

    本教程将详细介绍如何在CentOS 7上离线安装GCC、PCRE-devel、OpenSSL-devel和Zlib-devel这些重要的开发工具包,这些都是构建和编译Nginx web服务器所必需的依赖。以下是一个详细的步骤指南。 首先,`CentOS7 nginx...

    LinuxCentOS7离线安装gcc

    LinuxCentOS7版本离线安装gcc插件。1.下载gcc-rpm.tar.gz包,上传服务器并解压:#tar -zxvf gcc-rpm.tar.gz 2.进入gcc-rpm目录安装 #cd gcc-rpm #rpm -Uvh *.rpm --nodeps --force 3.查看是否是否安装成功 #gcc -v #...

    centos离线安装gcc

    以下将详细介绍如何在CentOS上离线安装GCC。 1. **下载所需资源** 首先,你需要在有网络的环境中找到GCC的源码包,通常可以从GCC官方网站或者镜像站点下载。例如,你可以下载最新稳定版的GCC源码包,如`gcc-7.3.0....

    liunx下rpm离线安装gcc包

    在没有网络连接的情况下,离线安装GCC可以通过RPM包来实现。以下是详细步骤和相关知识点: 1. **下载所需GCC RPM包**: 在有网络的机器上,你需要找到适合你的Linux发行版(如CentOS、Fedora等)的GCC RPM包及其...

    Centos 7 离线安装gcc 所需要的rpm包

    centos 7 安装gcc所需要的包,gcc-4.8.5-28.el7.x86_64.rpm、cpp-4.8.5-28.el7.x86_64.rpm、glibc-2.17-222.el7.x86_64.rpm、glibc-common-2.17-222.el7.x86_64.rpm、glibc-devel-2.17-222.el7.x86_64.rpm、glibc-...

    GCC编译环境+RPM离线包+CentOS7.9最小化环境安装

    本文将详细阐述如何在CentOS 7.9的最小化安装环境下,通过GCC编译环境和RPM离线包来实现这一目标。 首先,GCC(GNU Compiler Collection)是开源的、跨平台的编译器集合,它支持C、C++、Objective-C、Fortran、Ada...

    suse离线安装gcc的rpm包

    首先,标题"离线安装gcc的rpm包"表明我们需要使用RPM(Red Hat Package Manager)包管理系统来安装GCC。RPM是一种广泛用于Fedora、CentOS和SUSE等Linux发行版的软件包管理工具,它负责安装、升级、查询和删除软件包...

    CentOS7 nginx离线安装gcc/pcre-devel/openssl-devel/zlib-devel以及其他包

    gcc-4.8.5-36.el7.x86_64.rpm glibc-devel-2.17-260.el7.x86_64 openssl-1.0.2k-16.el7.x86_64 openssl-devel-1.0.2k-16.el7.x86_64 openssl-libs-1.0.2k-16.el7.x86_64 pcre-devel-8.32-17.el7.x86_64 zlib-1.2.7-...

    centOS7离线安装python3.10运行环境rpm依赖

    centOS7离线安装python3.10运行环境rpm依赖 大概300多个rpm,个别有重复不影响使用 gcc-objc++-4.8.5-44.el7.x86_64 grub2-2.02-0.86.el7.centos.x86_64 等

    Centos7.8(2003) minimal版离线安装perl+gcc

    centos7.8 离线安装gcc ,perl 下载本压缩包文件,然后在本地解压,并上传到centos7上,进入到你上传的文件目录,然后执行:rpm -Uvh *.rpm --nodeps --force 成功后,执行:perl -v 就可以看到perl版本号 然后执行:...

    CentOS7gcc离线安装包.zip

    总结来说,"CentOS7gcc离线安装包.zip"是一个专为离线环境设计的解决方案,包含了GCC源码和可能的离线安装指南,目的是在没有互联网连接的CentOS 7服务器上搭建GCC编译环境。这个过程需要对Linux系统有一定的了解,...

    linux离线安装gcc教程

    例如,如果想将GCC安装在`/opt/gcc`,可以运行: ```bash mkdir -p /opt/gcc ./configure --prefix=/opt/gcc --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,java,ada --disable-multilib `...

    centos7(7.6.1810) 离线安装gcc pcre-devel openssl-devel zlib-devel

    centos7(7.6.1810) 离线安装gcc pcre-devel openssl-devel zlib-devel所需要的资源 安装步骤:https://blog.csdn.net/wxg198286/article/details/122194881

    Linux CentOS7 离线安装gcc等rpm包集合,测试通过无错误

    根据https://download.csdn.net/download/u010786396/10146607的模板,太多错误于是自己重新弄了个测试已经通过了的无错误依赖...使用yum localinstall *.rpm -y命令安装,不要建议用忽略的命令,出问题就是坑人的。

Global site tag (gtag.js) - Google Analytics