|
1 x Installation Documentation |
|
2 ============================ |
|
3 |
|
4 Requirements |
|
5 ------------ |
|
6 |
|
7 To run x, you'll need Python_ 2.4 or greater. You can also use Python 2.3 |
|
8 if you separately install the `subprocess module`_. |
|
9 |
|
10 .. _Python: http://www.python.org/ |
|
11 .. _`subprocess module`: http://www.lysator.liu.se/~astrand/popen5/ |
|
12 |
|
13 x calls out to different external tools to support different archive types. |
|
14 Most of these are already installed on most GNU/Linux systems, so you |
|
15 probably won't have to worry about these too much, but just for |
|
16 completeness, the exact requirements for each format are as follows: |
|
17 |
|
18 tar archives |
|
19 tar |
|
20 |
|
21 zip archives |
|
22 unzip, zipinfo |
|
23 |
|
24 cpio archives |
|
25 cpio |
|
26 |
|
27 rpm archives |
|
28 rpm2cpio, cpio |
|
29 |
|
30 deb archives |
|
31 ar, tar, zcat |
|
32 |
|
33 Files compressed with gzip or compress |
|
34 zcat |
|
35 |
|
36 Files compressed with bzip2 |
|
37 bzcat |
|
38 |
|
39 Installation |
|
40 ------------ |
|
41 |
|
42 x is just a simple script, making it easy to stash wherever you need it. |
|
43 Just copy ``scripts/x`` to a location that's convenient for you. If you'd |
|
44 like to install the program system-wide, you can run the following as root |
|
45 or equivalent:: |
|
46 |
|
47 python setup.py install |