CTO下载RedHatAS上安装yum与gcc .docx
《CTO下载RedHatAS上安装yum与gcc .docx》由会员分享,可在线阅读,更多相关《CTO下载RedHatAS上安装yum与gcc .docx(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精品名师归纳总结封面可编辑资料 - - - 欢迎下载精品名师归纳总结作者: PanHongliang仅供个人学习1. 安装 yumrootst #wget下载 yum 软件rootst # tar zxvf yum_forAS4.tar.gz yum_forAS4/yum_forAS4/CentOS-Base.repoyum_forAS4/python-elementtree-1.2.6-7.el4.rf.i386.rpm yum_forAS4/python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm可编辑资料 - - - 欢迎下载精品名师归纳总结yum_fo
2、rAS4/yum-2.4.2-0.4.el4.rf.noarch.rpm yum_forAS4/sqlite-2.8.16-1.2.el4.rf.i386.rpm yum_forAS4/python-sqlite-1.0.1-1.2.el4.rf.i386.rpm rootst # cd yum_forAS4rootst yum_forAS4# ls CentOS-Base.repopython-elementtree-1.2.6-7.el4.rf.i386.rpm python-sqlite-1.0.1-1.2.el4.rf.i386.rpmpython-urlgrabber-2.9.7-1
3、.2.el4.rf.noarch.rpmsqlite-2.8.16-1.2.el4.rf.i386.rpm yum-2.4.2-0.4.el4.rf.noarch.rpmrootst yum_forAS4# rpm -ivh *.rpmwarning: python-elementtree-1.2.6-7.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6Preparing.# 100% 1:sqlite# 20%2:python-sqlite# 40%3:python-urlgrabber# 60%4:python-elemen
4、ttree# 80%5:yum# 100%rootst yum_forAS4# cp CentOS-Base.repo /etc/yum.repos.d/执行如下命令导入GPG Key rootst yum_forAS4# rpm -import CentOS-4现在 yum 就可以使用了。2. 安装 gccrootst squid-2.5.STABLE10-20050727# ./configure -prefix=/usr/local/squid creating cache ./config.cachechecking for a BSD compatible install. /usr
5、/bin/install -cchecking whether build environment is sane. yes checking for mawk. nochecking for gawk. gawkchecking whether make sets $MAKE. yeschecking whether to enable maintainer-specific portions of Makefiles. no checking for gcc. nochecking for cc. noconfigure: error: no acceptable cc found in
6、$PATH注:这个是未安装gcc 编辑器的缘由rootst squid-2.5.STABLE10-20050727# yum install gcc-bash: yum: command not found 注:这个是未安装 yum 的缘由现在开头安装 gccrootst yum_forAS4# yum install gcc Setting up Install Process可编辑资料 - - - 欢迎下载精品名师归纳总结Setting up repositoriesupdate100% |=| 951 B00:00base100% |=| 1.1 kB00:00addons100% |=
7、| 951 B00:00extras100% |=| 1.1 kB00:00Reading repository metadata in from local filesprimary.xml.gz100% |=| 158 kB00:02 update: # 511/511Added 511 new packages, deleted 0 old in 4.88 secondsprimary.xml.gz100% |=| 608 kB00:04 base: # 1591/1591Added 1591 new packages, deleted 0 old in 13.19 secondspri
8、mary.xml.gz100% |=| 190 B00:00Added 0 new packages, deleted 0 old in 0.01 secondsprimary.xml.gz100% |=| 38 kB00:01 extras: # 172/172Added 172 new packages, deleted 0 old in 1.08 seconds Parsing package install argumentsResolving Dependencies- Populating transaction set with selected packages. Please
9、 wait.- Downloading header for gcc to pack into transaction set.gcc-3.4.6-10.i386.rpm100% |=| 44 kB00:01- Package gcc.i386 0:3.4.6-10 set to be updated- Running transaction check- Processing Dependency: cpp = 3.4.6-10 for package: gcc- Processing Dependency: libgcc = 3.4.6-10 for package: gcc- Proce
10、ssing Dependency: binutils = 2.15.92.0.2-18 for package: gcc- Processing Dependency: glibc-devel = 2.2.90-12 for package: gcc- Restarting Dependency Resolution with new changes.- Populating transaction set with selected packages. Please wait.- Downloading header for binutils to pack into transaction
11、 set.binutils-2.15.92.0.2-25.i 100% |=| 41 kB00:00- Package binutils.i386 0:2.15.92.0.2-25 set to be updated- Downloading header for libgcc to pack into transaction set.libgcc-3.4.6-10.i386.rpm 100% |=| 35 kB00:00- Package libgcc.i386 0:3.4.6-10 set to be updated- Downloading header for glibc-devel
12、to pack into transaction set.glibc-devel-2.3.4-2.41.el 100% |=| 97 kB00:00- Package glibc-devel.i386 0:2.3.4-2.41.el4_7.1 set to be updated- Downloading header for cpp to pack into transaction set.cpp-3.4.6-10.i386.rpm100% |=| 37 kB00:00- Package cpp.i386 0:3.4.6-10 set to be updated- Running transa
13、ction check- Processing Dependency: glibc = 2.3.4-2.41.el4_7.1 for package: glibc-devel可编辑资料 - - - 欢迎下载精品名师归纳总结- Processing Dependency: glibc-headers = 2.3.4-2.41.el4_7.1 for package: glibc-devel- Processing Dependency: glibc-headers for package: glibc-devel- Restarting Dependency Resolution with ne
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CTO下载RedHatAS上安装yum与gcc CTO 下载 RedHatAS 安装 yum gcc
限制150内