zoukankan      html  css  js  c++  java
  • xar安装使用方法

    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
  • 相关阅读:
    使用Mybatis时报错Invalid bound statement (not found):
    MyBatis学习(3)
    选数字
    看程序写结果
    NP
    完全平方数
    hahaha
    haha

    凝视
  • 原文地址:https://www.cnblogs.com/pcat/p/5469117.html
Copyright © 2011-2022 走看看