Re: extract a deb package ?

2000-03-15 Thread Fabien Ninoles
On Wed, Mar 15, 2000 at 12:15:20AM +0100, Attila Csosz wrote:
 
 How could I extract ( like unzip ) a deb package to a directory?
 I wouldn't install it. I'd like to get a file from it.

dpkg --fsys-tarfile deb | tar -xf - complete file name without the leading /

 
 Thanks
  Attila
  

-- 

Fabien NinolesChevalier servant de la Dame Catherine des Rosiers
aka Corbeau aka le Veneur Gris   Debian GNU/Linux maintainer
E-mail:[EMAIL PROTECTED]
WebPage:http://www.tzone.org/~fabien
RSA PGP KEY [E3723845]: 1C C1 4F A6 EE E5 4D 99  4F 80 2D 2D 1F 85 C1 70



Re: extract a deb package ?

2000-03-15 Thread Phillip Deackes
Attila Csosz [EMAIL PROTECTED] wrote:
 
 How could I extract ( like unzip ) a deb package to a directory?
 I wouldn't install it. I'd like to get a file from it.

The *easiest* way to extract a file or two from a .deb package is to use
Midnight Commander (mc) or The Gnome file manager (GMC). With either of
these you can just enter a Debian package as if it were a directory and
manipulate files like you would if you were in a real directory, copying
or viewing them very easily.


--
Phillip Deackes
Using Storm Linux 2000


extract a deb package ?

2000-03-14 Thread Attila Csosz

How could I extract ( like unzip ) a deb package to a directory?
I wouldn't install it. I'd like to get a file from it.

Thanks
 Attila
 
-- 
--
- Mail: [EMAIL PROTECTED]; Debian 2.2 Linux  / 2.2.13 / exim-
- Get my PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb -


Re: extract a deb package ?

2000-03-14 Thread Gary Hennigan
Attila Csosz [EMAIL PROTECTED] writes:
 How could I extract ( like unzip ) a deb package to a directory?
 I wouldn't install it. I'd like to get a file from it.

*.deb files are simply ar archives, like *.a libraries. To extract:

ar x file.deb

The files are actually contained in a gzip'd tar file within the deb
file. 

Gary


Re: extract a deb package ?

2000-03-14 Thread Gergely Madarasz
On Wed, 15 Mar 2000, Attila Csosz wrote:

 
 How could I extract ( like unzip ) a deb package to a directory?
 I wouldn't install it. I'd like to get a file from it.

dpkg --extract package_file directory

-- 
Madarasz Gergely   [EMAIL PROTECTED]   [EMAIL PROTECTED]
 It's practically impossible to look at a penguin and feel angry.
 Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
   HuLUG: http://mlf.linux.rulez.org/


Re: extract a deb package ?

2000-03-14 Thread Bruce Sass
On 14 Mar 2000, Gary Hennigan wrote:

 Attila Csosz [EMAIL PROTECTED] writes:
  How could I extract ( like unzip ) a deb package to a directory?
  I wouldn't install it. I'd like to get a file from it.
 
 *.deb files are simply ar archives, like *.a libraries. To extract:
 
 ar x file.deb
 
 The files are actually contained in a gzip'd tar file within the deb
 file. 

You can also use dpkg-deb to get at the individual pieces of a
package, check the man page for details.


later,

Bruce