2022年CTO下载RedHatAS上安装yum与gcc.docx

上传人:C****o 文档编号:12786694 上传时间:2022-04-26 格式:DOCX 页数:8 大小:36.46KB
返回 下载 相关 举报
2022年CTO下载RedHatAS上安装yum与gcc.docx_第1页
第1页 / 共8页
2022年CTO下载RedHatAS上安装yum与gcc.docx_第2页
第2页 / 共8页
点击查看更多>>
资源描述

《2022年CTO下载RedHatAS上安装yum与gcc.docx》由会员分享,可在线阅读,更多相关《2022年CTO下载RedHatAS上安装yum与gcc.docx(8页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

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_forAS4/yum-2.4.2-0.4.el4.rf.noar

2、ch.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.2.el4.rf.noarch.rpmsqlite-2.8

3、.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-elementtree# 80%5:yum# 100%rootst yu

4、m_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/bin/install -cchecking whethe

5、r 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 $PATH注:这个是未安装gcc 编辑器的缘由rootst

6、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% |=| 951 B00:00extras100% |=| 1.1 kB00:00Readin

7、g 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 secondsprimary.xml.gz100% |=| 190 B00:00Added 0 new pa

8、ckages, 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 wait.- Downloading header for gcc to pack i

9、nto 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- Processing Dependency: binutils = 2.15.92.0.2-18

10、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 set.binutils-2.15.92.0.2-25.i 100% |=| 41 k

11、B00: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 to pack into transaction set.glibc-devel-2.3

12、.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 transaction check- Processing Dependency: glibc =

13、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 new changes.- Populating transaction set with selected packa

14、ges. Please wait.- Downloading header for glibc to pack into transaction set.glibc-2.3.4-2.41.el4_7.1. 100% |=| 129 kB00:00- Package glibc.i686 0:2.3.4-2.41.el4_7.1 set to be updated- Downloading header for glibc-headers to pack into transaction set.glibc-headers-2.3.4-2.41. 100% |=| 130 kB00:00- Pa

15、ckage glibc-headers.i386 0:2.3.4-2.41.el4_7.1 set to be updated- Running transaction check- Processing Dependency: kernel-headers = 2.2.1 for package: glibc-headers- Processing Dependency: glibc-common = 2.3.4-2.41.el4_7.1 for package: glibc- Processing Dependency: kernel-headers for package: glibc-

16、headers- Restarting Dependency Resolution with new changes.- Populating transaction set with selected packages. Please wait.- Downloading header for glibc-common to pack into transaction set.glibc-common-2.3.4-2.41.e 100% |=| 649 kB00:04- Package glibc-common.i386 0:2.3.4-2.41.el4_7.1 set to be upda

17、ted- Downloading header for glibc-kernheaders to pack into transaction set.glibc-kernheaders-2.4-9.1 100% |=| 75 kB00:00- Package glibc-kernheaders.i386 0:2.4-9.1.103.EL set to be updated- Running transaction check Dependencies Resolved=PackageArchVersionRepositorySize=Installing:gcci3863.4.6-10base

18、4.4 M Installing for dependencies:cppi3863.4.6-10base1.6 Mglibc-develi3862.3.4-2.41.el4_7.1 update1.9 M glibc-headersi3862.3.4-2.41.el4_7.1 update588 k glibc-kernheadersi3862.4-9.1.103.ELbase696 k Updating for dependencies:binutilsi3862.15.92.0.2-25base2.9 M glibci6862.3.4-2.41.el4_7.1 update6.0 Mgl

19、ibc-commoni3862.3.4-2.41.el4_7.1 update16 M libgcci3863.4.6-10base64 k Transaction Summary=欢迎下载精品学习资源=Install5 PackagesUpdate4 PackagesRemove0 Packages Total download size: 34 M Is this ok y/N: y Downloading Packages:1/9: libgcc-3.4.6-10.i3 100% |=| 64 kB00:012/9: cpp-3.4.6-10.i386. 100% |=| 1.6 MB0

20、0:103/9: glibc-devel-2.3.4- 100% |=| 1.9 MB00:124/9: glibc-common-2.3.4 100% |=| 16 MB01:405/9: glibc-2.3.4-2.41.e 100% |=| 6.0 MB00:386/9: glibc-kernheaders- 100% |=| 696 kB00:037/9: glibc-headers-2.3. 100% |=| 588 kB00:058/9: binutils-2.15.92.0 100% |=| 2.9 MB00:189/9: gcc-3.4.6-10.i386. 100% |=|

21、4.4 MB00:24Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running TransactionUpdating : libgcc# 1/13 Installing: glibc-kernheaders# 2/13 Updating : glibc-common# 3/13 Updating : glibc 4/13warning: /etc/localtime created as /etc/localtime.rpmnewUpdating : glibc# 4/13Sto

22、pping sshd: OK Starting sshd: OK Updating : binutils# 5/13Installing: cpp# 6/13Installing: glibc-headers# 7/13Installing: glibc-devel# 8/13Installing: gcc# 9/13Cleanup: libgcc# 10/13Cleanup: glibc-common# 11/13Cleanup: glibc# 12/13Cleanup: binutils# 13/13Installed: gcc.i386 0:3.4.6-10Dependency Inst

23、alled: cpp.i386 0:3.4.6-10 glibc-devel.i386 0:2.3.4-2.41.el4_7.1 glibc-headers.i386 0:2.3.4-2.41.el4_7.1 glibc-kernheaders.i386 0:2.4-9.1.103.EL Dependency Updated: binutils.i386 0:2.15.92.0.2-25 glibc.i686 0:2.3.4- 2.41.el4_7.1 glibc-common.i386 0:2.3.4-2.41.el4_7.1 libgcc.i386 0:3.4.6-10 Complete.

24、rootst yum_forAS4#欢迎下载精品学习资源版权申明本文部分内容,包括文字、图片、以及设计等在网上搜集整理;版权为潘宏亮个人全部This article includes some parts, including text, pictures, and design. Copyright is Pan Hongliangs personal ownership.用户可将本文的内容或服务用于个人学习、争论或观看,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵害本网站及相关权益人的合法权益;除此以 外,将本文任何内容或服务用于其他用途时,须征得本人及

25、相关权益人的书面许可,并支付酬劳;Users may use the contents or services of this article for personal study, research or appreciation, and other non-commercial or non-profit purposes, but at the same time, they shall abide by the provisions of copyright law and other relevant laws, and shall not infringe upon the le

26、gitimate rights of this website and its relevant obligees. In addition, when any content or service of this article is used for other purposes, written permission and remuneration shall be obtained from the person concerned and the relevant obligee.欢迎下载精品学习资源转载或引用本文内容必需是以新闻性或资料性公共免费信息为使用目的的合理、善意引用,不

27、得对本文内容原意进行曲解、修改,并自负版权等法律责任;Reproduction or quotation of the content of thisarticle must be reasonable and good-faith citation for theuse of news or informative public free information. Itshall not misinterpret or modify the original intention ofthe content of this article, and shall bear legal liabilitysuch as copyright.欢迎下载

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁