Linux后缀为tar.gz的安装方法
2007-11-11 12:56
771 查看
Linux后缀为tar.gz的安装方法
现在tar.gz的东西不多了。
大多以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
现在tar.gz的东西不多了。
大多以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
相关文章推荐
- Linux后缀为tar.gz的安装方法 RPM 安装
- Linux 后缀为tar.gz的安装方法
- 在Fedora Linux下面安装.tar.gz文件的方法
- linux tar.gz 安装方法
- linux tar.gz 安装方法
- linuxtar.gz安装方法
- linux tar.gz安装方法
- linux tar.gz 安装方法
- linux下安装xxxx.tar.gz的方法----笛风读书笔记系列
- linux 下安装软件tar.gz, rpm,deb的方法
- Linux下RPM软件包的安装、卸载和tar.gz 安装方法
- linux tar.gz 安装方法
- linux中解压缩并安装.tar.gz后缀的文件
- Linux下tar.gz包的安装方法及安装路径的指定
- linux 下 jdk tar.gz 包安装方法
- LINUX下tar.gz包的安装方法
- linux下各种打包与压缩文件后缀及其解包解压缩方法.gz、.tar.gz、tgz...
- linux 下安装.tar.gz文件的安装方法
- LINUX下tar.gz包的安装方法
- 【linux】详解linux 下安装软件tar.gz, rpm,deb的方法