]>
Commit | Line | Data |
---|---|---|
c4d749b7 MV |
1 | apt - Advanced Packaging Tool |
2 | ============================= | |
3 | ||
4 | apt is the main package management tool for Debian and its variants. | |
5 | It enables to search and install deb packages. The underlying libraries | |
6 | that apt is build upon are called libapt-pkg and libapt-inst. | |
7 | ||
8 | Coding | |
9 | ------ | |
10 | Apt is maintained in git, considering creating a branch when you | |
11 | start hacking on it. | |
12 | ||
13 | Apt uses its own autoconf based build system, see README.make for | |
14 | more details. To get started, just run: | |
15 | ``` | |
16 | $ make | |
17 | ``` | |
18 | from a fresh checkout. | |
19 | ||
20 | When you make changes and want to run them, make sure your | |
21 | $LD_LIBRARY_PATH points to the new location, e.g. via: | |
22 | ``` | |
23 | $ export LD_LIBRARY_PATH=$(pwd)/build/bin | |
24 | $ ./build/bin/apt-get moo | |
25 | ``` | |
26 | ||
27 | Testing | |
28 | ------- | |
29 | ||
30 | There is a extensive integration testsuite available via: | |
31 | ``` | |
32 | $ ./test/integration/run-tests | |
33 | ``` | |
34 | ||
35 | as well as gtest-dev based integration tests available in | |
36 | `./test/libapt` and can be run with make test. | |
37 |