Chinaunix首页 | 论坛 | 博客
  • 博客访问: 574393
  • 博文数量: 836
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 4995
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-22 16:55
文章分类

全部博文(836)

文章存档

2008年(836)

我的朋友

分类: LINUX

2008-08-22 17:50:24

 
现在tar.gz的东西不多了。

  大多以tar.gz和tar.bz2打包软件,大多是通过./configure;make;makeinstall来安装的;有的软件是直接make;makeinstall;

  我们可以通过./configure--help来查看配置软件的功能;大多软件是提供./configure配置软件的功能的;少数的也没有,如果没有的就不用./configure;直接make;makeinstall就行了;

  ./configure比较重要的一个参数是--prefix,用--prefix参数,我们可以指定软件安装目录;当我们不需要这个软件时,直接删除软件的目录就行了;

  比如我们可以指定fcitx安装到/opt/fcitx目录中;

  [root@localhostfcitx]#./configure--prefix=/opt/fcitx

  如果我们不需要fcitx时,可以直接删除/opt/fcitx目录;

  所以我们举这个例子中,fcitx如果定制安装到/opt/fcitx目录中,完整的安装方法应该是:

  [root@localhostfcitx]#tarjxvffcitx-3.2-050827.tar.bz2
  [root@localhostfcitx]#cdfcitx
  [root@localhostfcitx]#./configure--prefix=/opt/fcitx
  [root@localhostfcitx]#make
  [root@localhostfcitx]#makeinstall

阅读(381) | 评论(0) | 转发(0) |
0

上一篇:Linux LumpQQ

下一篇:装fedora 7 问题求解

给主人留下些什么吧!~~