关于安装GCC
时间:2011-06-21
来源:互联网
各位大侠,本人光驱坏了,无法从光盘上安装GCC,下载了GCC4.6.0.tar.bz2的版本。为什么安装不上啊。请指教
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@Fedora ~]# ll
总用量 69992
-rw-------. 1 root root 1650 6月 15 21:39 anaconda-ks.cfg
-rw-r--r--. 1 root root 71579535 6月 22 00:45 gcc-4.6.0.tar.bz2
drwxr-xr-x. 2 root root 4096 6月 21 23:07 installationfile
-rw-r--r--. 1 root root 54318 6月 15 21:39 install.log
-rw-r--r--. 1 root root 12382 6月 15 21:38 install.log.syslog
[root@Fedora ~]# cd installationfile
[root@Fedora installationfile]# ll
总用量 0
[root@Fedora installationfile]# ls
[root@Fedora installationfile]# tar zxvf gcc-4.6.0.tar.bz2
tar (child): gcc-4.6.0.tar.bz2:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@Fedora installationfile]# ^C
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@Fedora ~]# ll
总用量 69992
-rw-------. 1 root root 1650 6月 15 21:39 anaconda-ks.cfg
-rw-r--r--. 1 root root 71579535 6月 22 00:45 gcc-4.6.0.tar.bz2
drwxr-xr-x. 2 root root 4096 6月 21 23:07 installationfile
-rw-r--r--. 1 root root 54318 6月 15 21:39 install.log
-rw-r--r--. 1 root root 12382 6月 15 21:38 install.log.syslog
[root@Fedora ~]# cd installationfile
[root@Fedora installationfile]# ll
总用量 0
[root@Fedora installationfile]# ls
[root@Fedora installationfile]# tar zxvf gcc-4.6.0.tar.bz2
tar (child): gcc-4.6.0.tar.bz2:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@Fedora installationfile]# ^C
作者: ilovezmw 发布时间: 2011-06-21
老版本的linux要两步,一步是解压缩,一步是解包
bzip2 -d **.tar.bz2 //将文件解压成**.tar
tar -xf **.tar //解包
现在新出的linux版本,只要一步就可以解压完毕
tar -xf **.tar.bz2
转自百度!!!!!!
bzip2 -d **.tar.bz2 //将文件解压成**.tar
tar -xf **.tar //解包
现在新出的linux版本,只要一步就可以解压完毕
tar -xf **.tar.bz2
转自百度!!!!!!
作者: 吕骏_32 发布时间: 2011-06-21
不知道可以不可以yum install gcc?
作者: wzb123 发布时间: 2011-06-21
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28