码迷,mamicode.com
首页 > 其他好文 > 详细

xar安装使用方法

时间:2016-05-07 20:52:06      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

xar是一种扩展的归档格式(eXtensible ARchive format),是一种开源的文件格式。xar文件在Mac OS X 10.5里是用于软件安装程序。

----------------

本文将在Kali Rolling安装xar,以便解压一些xar文件。

-------

1、安装xar

git clone https://github.com/mackyle/xar
cd xar/xar
./autogen.sh --noconfigure
./configure
make
make install

这样就安装成功

 

2、autogen.sh报错

./autogen.sh: 5: ./autogen.sh: autoconf: not found

这是因为没有安装automake工具。(使用autoconf和automake两个工具可以自动地生成符合自由软件惯例的Makefile,这样就可以像常见的GNU程序一样,只要使用”./configure”,”make”,”make instal”就可以把程序安装到Linux系统中去了。)

apt-get install autoconf automake libtool

 

3、configure报错

configure: error: Cannot configure without xml2-config

这里只需要:

apt-get install libxml2-dev

 

若还是报错:

configure: error: Cannot build without libcrypto (OpenSSL)

可以这样:

apt-get install libssl-dev

(如果下载不了,请先apt-get update)

 

4、xar使用方法

把p.txt压缩为pcat.xar:

xar -cf pcat.xar p.txt

解压pcat.xar:

xar -xf pcat.xar

 

xar安装使用方法

标签:

原文地址:http://www.cnblogs.com/pcat/p/5469117.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!