O'Reilly logo

CompTIA® Linux+ / LPIC-1 Cert Guide: (Exams LX0-103 & LX0-104/101-400 & 102-400) by Sean Walberg, Ross Brunson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing Local Debian Packages

The dpkg tool manipulates packages on your system and can process the .deb packages you may download. If you have a package on your system, you can find out what’s inside it with the --info option as shown in Example 3-1.

Example 3-1 Finding Out What’s Inside a .deb File

# dpkg --info acct_6.5.5-1_amd64.deb new debian package, version 2.0. size 120424 bytes: control archive=1899 bytes.      79 bytes,     4 lines      conffiles     746 bytes,    18 lines      control    1766 bytes,    27 lines      md5sums     507 bytes,    30 lines   *  postinst             #!/bin/sh     370 bytes,    26 lines   *  postrm               #!/bin/sh     163 bytes,     7 lines   *  prerm                #!/bin/sh ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required