[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Archivos .deb



 Cuando: sáb, 22 de abr de 2000, a las 07:58:45 +0100
 Quien: Gustavo CR
 Que: Re: Archivos .deb

> On Fri, Apr 21, 2000 at 08:31:04PM +0000, jorge chavarriaga wrote:
> Si quieres ver lo que tienen por dentro los deb puedes hacer:
> ar -x "archivo"
> (...)

Para ver lo que tiene un .deb, basta con añadir esto al /etc/profile:

####################################################
#con esto less puede ver binarios, .deb, .rpm, etc
eval `/usr/bin/lesspipe`
####################################################

Así, un less i2e.deb, daría esto:


i2e_0.5_i386.deb:
 new debian package, version 2.0.
 size 211812 bytes: control archive= 1068 bytes.
     339 bytes,    10 lines      control              
     769 bytes,    13 lines      md5sums              
     369 bytes,    11 lines   *  postinst             #!/bin/sh
     145 bytes,     4 lines   *  postrm               #!/bin/sh
     184 bytes,     6 lines   *  prerm                #!/bin/sh
 Package: i2e
 Version: 0.5
 Section: text
 Priority: optional
 Architecture: i386
 Depends: gettext,libc6 (>= 2.1.2), libglib1.2 (>= 1.2.0), libgtk1.2
 (>= 1.2.6-1), xlib6g (>= 3.3.5)
 Installed-Size: 614
 Maintainer: Alfredo Casademunt <darkd@wanadoo.es>
 Description: English-Spanish dictionary.
  English-Spanish dictionary. For X and text mode.

*** Contents:
drwxr-xr-x root/root         0 2000-02-23 19:32:11 ./
drwxr-xr-x root/root         0 2000-02-23 19:32:08 ./usr/
drwxr-xr-x root/root         0 2000-02-23 19:32:07 ./usr/X11R6/
drwxr-xr-x root/root         0 2000-02-23 19:32:10 ./usr/X11R6/bin/
-rwxr-xr-x root/root     21964 2000-02-23 19:32:10 ./usr/X11R6/bin/i2e
drwxr-xr-x root/root         0 2000-02-23 19:32:07 ./usr/bin/
-rwxr-xr-x root/root      2739 2000-02-23 19:32:07 ./usr/bin/i2e.sh
drwxr-xr-x root/root         0 2000-02-23 19:32:07 ./usr/man/
drwxr-xr-x root/root         0 2000-02-23 19:32:07 ./usr/man/man1/
-rw-r--r-- root/root      1460 2000-02-23 19:32:07 ./usr/man/man1/i2e.1.gz
drwxr-xr-x root/root         0 2000-02-23 19:32:07 ./usr/man/es/
(...)

No tienes que descomprimir, ni hacer nada más. Muy cómodo. 

-- 
Benjamín Albiñana Pérez
Linux User Nº78177
Clave pública: wget http://personal1.iddeo.es/benalb/benjamin-gpg.asc 
La velocidad del tiempo es de un segundo por segundo.


Attachment: pgpycAVgVITKW.pgp
Description: PGP signature


Reply to: