summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 12eb187c2527028a7f38827f8de10d9a897ee1eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
On most Unix-like systems, you should be able to install libarchive
and bsdtar using the following common steps:
    ./configure
    make
    make install

If you need to customize the target directories or otherwise adjust
the build setting, use
    ./configure --help
to list the configure options.

If you are developing libarchive and need to update the
configure script and other build files:
    /bin/sh build/autogen.sh

On non-Unix-like systems, use the "cmake" utility (available from
http://cmake.org/) to generate suitable build files for your platform.
Cmake requires the name of the directory containing CmakeLists.txt and
the "generator" to use for your build environment.  For example, to
build with Xcode on Mac OS, you can use the following command:
    cmake -G "Xcode" ~/libarchive-download-dir/