Changes between Version 4 and Version 5 of DissectingAPackage


Ignore:
Timestamp:
01/23/13 18:23:32 (11 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DissectingAPackage

    v4 v5  
    130130Metapackages are a special case of binary packages -- they don't include any software, only control information.  This is useful for defining a set of packages that provide a certain functionality.  For example, the `debathena-standard` metapackage is designed to provide basic Athena functionality, such as Kerberos, AFS, etc.  You don't need to know the many individual packages that provide this functionality, because debathena-standard either _Depends_ or _Recommends_ those packages.  This way, if we suddenly change filesystems, or add some new functionality, we can update the `debathena-standard` metapackage, and let the package manager take care of making the individual changes. 
    131131 
     132== Useful Commands == 
     133 
     134* `dpkg -I foo.deb` - View package control information. 
     135* `dpkg -c foo.deb` - List of files in package. 
     136* `dpkg -x foo.deb dir` - Extract the package into directory dir. 
     137* `dpkg -e foo.deb dir` - Extract Debian metadata (control file, maintainer scripts, md5sums, etc.) to directory dir. 
     138* `apt-cache show package` - Display control information for package. 
     139 
     140 
    132141Next: [[SourcePackages]]