tar.gz2 解压缩
来源:互联网 发布:奥德利条幅机文泰软件 编辑:程序博客网 时间:2024/06/10 15:41
第一步:bzip2 -d gcc-4.1.0.tar.bz2
---上面解压完之后执行下面的命令。
第二步:tar -xvf gcc-4.1.0.tar 或 tar -xvf *.tar
解完之后会出现多一个文件夹 gcc-4.1.0
PS:如果linux已安装bzip2,那么使用tar jvf gcc-4.1.0.tar.bz2就可以了。
那么如果是需要安装的程序呢,接下来如何操作呢?
看到一个比较详细的介绍从解压到安装整个过程的东东:
[yonghu@localhost ~]# su root
口令:
[root@localhost ~]# cd /home/new/Desktop
[root@localhost Desktop]# tar jxvf fcitx-3.4.2.tar.bz2
[root@localhost Desktop]# cd /home/new/Desktop/fcitx-3.4.2
[root@localhost fcitx-3.4.2]#./configure --prefix=/opt/fictx
[root@localhost fcitx-3.4.2]#make
[root@localhost fcitx-3.4.2]#make install
各步骤详解
[yonghu@localhost ~]#su root//(使用root帐户登录,使用其他用户,之后操作有可能权限不够)
口令: // 输入root密码
[root@localhost ~]# cd /home/new/Desktop
// (切换到tar.bz2文件所在目录,这里我的tar.bz2文件在桌面)
[root@localhost Desktop]#tar jxvf fcitx-3.4.2.tar.bz2
// (解压tar.bz2文件,这里以fcitx-3.4.2来举例,解压得到fcitx-3.4.2文件夹)
[root@localhost Desktop]#cd /home/new/Desktop/fcitx-3.4.2
//(切换目录到fcitx-3.4.2,软件解压的目录)
[root@localhost fcitx-3.4.2]#./configure --prefix=/opt/fictx
//(配置,把文件存放在/opt/fictx下,删除时,卸载软件时,只要删除这个文件就行了)
[root@localhost fcitx-3.4.2]#make (编译)
[root@localhost fcitx-3.4.2]#make install (安装)
PS:转自http://hi.baidu.com/hacklong1/blog/item/26d884d209f0150b3af3cf89- (2012-01-15 23:33:48)
- (2011-11-24 22:24:00)
- (2011-04-25 20:30:10)
- (2011-04-17 22:01:30)
- (2011-04-11 10:55:37)
- (2011-04-03 22:29:56)
- (2011-03-16 21:31:54)
- (2011-03-08 20:42:30)
- (2011-03-08 18:31:20)
- (2011-02-10 21:55:33)
- tar.gz2 解压缩
- tar/gz/bz/gz2/bz2...压缩与解压缩
- tar/gz/bz/gz2/bz2...压缩与解压缩
- tar/gz/bz/gz2/bz2...压缩与解压缩
- 如何解压tar.gz2
- ubuntu如何安装 tar,gz tar.gz2
- ubuntu如何安装 tar,gz tar.gz2
- centos7 rpm tar.gz2 安装实例
- tar解压缩
- tar解压缩
- Tar 解压缩
- tar.gz tar.bz2 解压缩
- tar压缩解压缩
- tar解压缩命令
- linux解压缩tar命令
- .tar.bz2解压缩
- tar 解压缩命令
- tar 解压缩命令
- 我心目中中国政府的“十大罪”
- sql 2008 排序
- sql导入导出 excel文件
- 羽绒服10大品牌介绍
- linux history 删除
- tar.gz2 解压缩
- rndc: connect failed 解决
- android中mainifest的一些属性
- yum 常用 命令
- BIND 高级特性 转发 forwarder
- DNS服务器--转发解析请求
- 正则表达式语法
- 35. GNU SQL Server
- 第一篇文章测试