Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2876880
  • 博文数量: 471
  • 博客积分: 10012
  • 博客等级: 上将
  • 技术积分: 5255
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-10 23:58
文章分类

全部博文(471)

文章存档

2011年(3)

2010年(61)

2009年(52)

2008年(212)

2007年(69)

2006年(74)

我的朋友

分类: LINUX

2010-05-19 10:06:24

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

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

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

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


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

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

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


[root@localhost fcitx]# tar jxvf fcitx-3.2-050827.tar.bz2
[root@localhost fcitx]#cd fcitx
[root@localhost fcitx]# ./configure --prefix=/opt/fcitx
[root@localhost fcitx]# make
[root@localhost fcitx]# make install
阅读(21092) | 评论(0) | 转发(0) |
0

上一篇:crontab用法

下一篇:centos安装freeradius

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