CentOS 6.5使用安装盘自带的RPM包手动安装gcc

简介: CentOS 6.5使用安装盘自带的RPM包手动安装gcc[root@testcs_dn ~]# cd /media/CentOS_6.5_/Packages/[root@testcs_dn Packages]# rpm -ivh gcc-4.

CentOS 6.5使用安装盘自带的RPM包手动安装gcc


[root@testcs_dn ~]# cd /media/CentOS_6.5_/Packages/
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-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.7-4.el6.x86_64
	cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
Display all 3996 possibilities? (y or n)
[root@testcs_dn Packages]# rpm -ivh gcc-
gcc-4.4.7-4.el6.x86_64.rpm           gcc-gfortran-4.4.7-4.el6.x86_64.rpm  gcc-java-4.4.7-4.el6.x86_64.rpm      gcc-objc++-4.4.7-4.el6.x86_64.rpm    
gcc-c++-4.4.7-4.el6.x86_64.rpm       gcc-gnat-4.4.7-4.el6.x86_64.rpm      gcc-objc-4.4.7-4.el6.x86_64.rpm      
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-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.7-4.el6.x86_64
	cpp = 4.4.7-4.el6 is needed by gcc-4.4.7-4.el6.x86_64
[root@testcs_dn Packages]# 
[root@testcs_dn Packages]# rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm 
warning: kernel-headers-2.6.32-431.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package kernel-headers-2.6.32-431.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh glibc-
glibc-2.12-1.132.el6.i686.rpm            glibc-devel-2.12-1.132.el6.x86_64.rpm
glibc-2.12-1.132.el6.x86_64.rpm          glibc-headers-2.12-1.132.el6.x86_64.rpm
glibc-common-2.12-1.132.el6.x86_64.rpm   glibc-utils-2.12-1.132.el6.x86_64.rpm
glibc-devel-2.12-1.132.el6.i686.rpm      
[root@testcs_dn Packages]# rpm -ivh glibc-
glibc-2.12-1.132.el6.i686.rpm            glibc-devel-2.12-1.132.el6.x86_64.rpm
glibc-2.12-1.132.el6.x86_64.rpm          glibc-headers-2.12-1.132.el6.x86_64.rpm
glibc-common-2.12-1.132.el6.x86_64.rpm   glibc-utils-2.12-1.132.el6.x86_64.rpm
glibc-devel-2.12-1.132.el6.i686.rpm      
[root@testcs_dn Packages]# rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm 
warning: glibc-headers-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package glibc-headers-2.12-1.132.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh glibc-devel-2.12-1.132.el6.
glibc-devel-2.12-1.132.el6.i686.rpm    glibc-devel-2.12-1.132.el6.x86_64.rpm
[root@testcs_dn Packages]# rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm 
warning: glibc-devel-2.12-1.132.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package glibc-devel-2.12-1.132.el6.x86_64 is already installed
[root@testcs_dn Packages]# rpm -ivh libgomp-4.4.7-4.el6.x86_64.rpm 
warning: libgomp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
	package libgomp-4.4.7-4.el6.x86_64 is already installed
[root@testcs_dn Packages]# 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%]
   1:ppl                    ########################################### [100%]
[root@testcs_dn Packages]# 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%]
   1:cloog-ppl              ########################################### [100%]
[root@testcs_dn Packages]# rpm -ivh mpfr-
mpfr-2.4.1-6.el6.i686.rpm          mpfr-devel-2.4.1-6.el6.i686.rpm
mpfr-2.4.1-6.el6.x86_64.rpm        mpfr-devel-2.4.1-6.el6.x86_64.rpm
[root@testcs_dn Packages]# 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@testcs_dn Packages]# rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm 
warning: cpp-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cpp                    ########################################### [100%]
[root@testcs_dn Packages]# rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm 
warning: gcc-4.4.7-4.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:gcc                    ########################################### [100%]


目录
相关文章
|
19天前
|
Linux 虚拟化 数据安全/隐私保护
部署05-VMwareWorkstation中安装CentOS7 Linux操作系统, VMware部署CentOS系统第一步,下载Linux系统,/不要忘, CentOS -7-x86_64-DVD
部署05-VMwareWorkstation中安装CentOS7 Linux操作系统, VMware部署CentOS系统第一步,下载Linux系统,/不要忘, CentOS -7-x86_64-DVD
|
12天前
|
存储 Linux 网络安全
Centos安装Docker的详细安装步骤,Docker相关组件:docker-ce-cli、docker-ce和containerd.io的区别
Centos安装Docker的详细安装步骤,Docker相关组件:docker-ce-cli、docker-ce和containerd.io的区别;CentOS7安装DockerCompose;Docker镜像仓库
258 11
|
18天前
|
应用服务中间件 Linux 网络安全
CentOS 7 上安装 Nginx
在 CentOS 7 上安装 Nginx 的步骤包括:添加 EPEL 仓库,安装 Nginx,启动 Nginx,配置防火墙规则,最后通过访问服务器 IP 验证安装是否成功
|
22天前
|
Linux Python
【Elasticsearch】linux使用supervisor常驻Elasticsearch,centos6.10安装 supervisor
【Elasticsearch】linux使用supervisor常驻Elasticsearch,centos6.10安装 supervisor
20 3
|
22天前
|
Ubuntu Linux 虚拟化
VMware安装centos7教程(1)
VMware安装centos7教程(1)
94 1
|
26天前
|
安全 关系型数据库 MySQL
CentOS 8 中安装与配置 MySQL
CentOS 8 中安装与配置 MySQL
99 3
|
27天前
|
缓存 Linux Docker
CentOS 7 下安装 Docker 及配置阿里云加速服务
CentOS 7 下安装 Docker 及配置阿里云加速服务
407 1
|
28天前
|
消息中间件 Linux
Centos安装RabbitMQ
Centos安装RabbitMQ
33 3
|
28天前
|
Linux Docker 容器
Centos8安装Docker
Centos8安装Docker
85 1
|
28天前
|
Linux 测试技术 开发工具
CentOS Linux 8使用阿里源(安装jdk11、git测试)
CentOS Linux 8使用阿里源(安装jdk11、git测试)
153 1