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