INSTALL

Thu, 17 Jan 2008 22:44:46 -0500

author
brett
date
Thu, 17 Jan 2008 22:44:46 -0500
branch
trunk
changeset 46
652871d804ab
parent 42
4a4cab75d5e6
child 56
d061b94889aa
permissions
-rw-r--r--

[svn] Make dtrx -v print *something*.

paulv wants it to act like tar -v. I'm not yet convinced this is a good
idea because it makes less sense with dtrx moving things around on you. It
could do an ls for you, of course, but... why? But it definitely is weird
to have it be silent.

dtrx Installation Documentation
===============================

Requirements
------------

dtrx will work out of the box with Python_ 2.4 or greater.  You can also
use Python 2.3 if you separately install the `subprocess module`_.

.. _Python: http://www.python.org/
.. _`subprocess module`: http://www.lysator.liu.se/~astrand/popen5/

dtrx calls out to different external tools to support different archive
types.  Most of these are already installed on most GNU/Linux systems, so
you probably won't have to worry about these too much, but just for
completeness, the exact requirements for each format are as follows:

tar archives
  tar

zip archives
  unzip, zipinfo

cpio archives
  cpio

rpm archives
  rpm2cpio, cpio

deb archives
  ar, tar, zcat

gem archives
  tar, zcat

7z archives
  7z

Microsoft Cabinet archives
  cabextract

Files compressed with gzip or compress
  zcat

Files compressed with bzip2
  bzcat

Files compressed with lzma
  lzcat

Installation
------------

dtrx is just a simple script, making it easy to stash wherever you need it.
Just copy ``scripts/dtrx`` to a location that's convenient for you.  If
you'd like to install the program system-wide, you can run the following as
root or equivalent::

   python setup.py install

mercurial