论坛风格切换切换到宽版
  • 736阅读
  • 3回复

[问题求助]打包工具 rarlinux 安装凝问? [复制链接]

上一主题 下一主题
离线laa110.
 
发帖
2019
C币
-152388
威望
394
贡献值
1
银元
-2
铜钱
4669
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
偶下载了个 rarlin.ux-3.7.1.ta.r.gz 软件包,在网上查得安装方法有:<性病>
# tar .xvzf ra.rlinux-3.7.1.tar.gz    健康
# cd rar
# make  或 make in.stall[成人用品]

另外一种方法是解压后.创建符号联接:.
# tar xv.zf rarlinux-3.7.1.tar.gz -C. /opt.
# ln -s /opt/rar/ra.r /usr/bin/r.ar(        游戏          )
# ln -s. /.opt/rar/unrar /usr/bin/unrar              汽车

偶感觉第1种方便点,.偶先 make 然后又 make install 但感觉都是一样的呢.!服务器

[root@local.host rar]# mak.e              乙肝
mkdir -p /usr/.local/bin             电子
mkdir -p /usr/loca.l/lib教育
cp rar unrar /u.sr/local./bin.
cp rarfil.es.lst /etc--------------彩票
cp default.sfx /usr./local/.lib           鲜花

[root@localhost ra.r]# make insta.ll    健康
mkdir. -p /usr/local/bin投资
mkdir -p /usr./local/lib投资
cp rar unra.r /usr/local/bin.<性病>
cp rarfiles.lst /etc.教育
cp default.s.fx. /usr/local/lib--- 印刷

最后一步是.用 make 还是用 make. install 呢?还是两者都用?            杀毒

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线newgame.
发帖
2122
C币
-60701
威望
365
贡献值
1
银元
-1
铜钱
4624
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
Re:打包工具
如果这个软件有README之类的说明,楼主最好可以看看。
另外,你的问题在哪儿?
make实际上是帮助使用者完成一些编译、拷贝之类的动作。

离线haikung.
发帖
1977
C币
-152724
威望
335
贡献值
1
银元
-2
铜钱
4311
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
Re:打包工具
[root@localhost rar]# ls
default.sfx  Makefile   rarfiles.lst  readme.txt    whatsnew.txt
file_id.diz  order.htm  rar_static    technote.txt
license.txt  rar        rar.txt       unrar

[root@localhost rar]# cat readme.txt
   RAR archiver:

* RAR introduces an original compression algorithm.  It allows higher
   compression ratios than other PC archiving tools, especially
   on executable files, object libraries, large text files, etc.

* RAR offers an optional compression algorithm highly optimized
   for multimedia data.

* RAR provides functionality for creating a 'solid' archive, which
   can raise the compression ratio by 10% - 50% over more common
   methods, particularly when packing large numbers of small files.

* RAR offers the ability to create and change SFX archives using
   default and external SFX modules.

* RAR offers the ability to create a multi-volume archive as SFX.

* RAR offers a number of service functions, such as setting a
   password, adding archive and file comments.  Even physically
   damaged archives may be repaired and an archive may be locked
   to prevent further changes.  Authenticity information may be
   added for additional security and RAR will store information
   on the last update and name of the archive.
[root@localhost rar]#

在 readme.txt 这个文件中没有安装方面的说明,只是对RAR的一些介绍。
偶凝问是安装的方法多,不知道那种才是正确,正规,最好的;偶在网上找得的资料中,最后那步有用 make 的 也有用 make install 的,在一个视频教程中还有先 make 后又 make install 两者都用的。只针对这个软件,最后那个 make 或 make install 是否一样的功能?偶笔记不知怎么写咧!

离线aqxsj.
发帖
2138
C币
-152161
威望
419
贡献值
1
银元
0
铜钱
4863
人人网人气币
0
只看该作者 地板  发表于: 2010-04-14
Re:打包工具
這個自己看 Makefile 不就好了嗎 ?

###################################################################

# Installing RAR executables, configuration files and SFX modules #

# to appropriate directories                                      #

###################################################################



PREFIX=/usr/local



install:

        mkdir -p $(PREFIX)/bin

        mkdir -p $(PREFIX)/lib

        cp rar unrar $(PREFIX)/bin

        cp rarfiles.lst /etc

        cp default.sfx $(PREFIX)/lib

~
复制代码

既然只有 install 該區段,所以你輸入執行 make 與 make install 都是跑該區段敘述不是呼 ?

--
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个