dpkg tutorial – Package Manager for Ubuntu / Debian

Posted by Joys of Programming on in dpkg, Linux, Ubuntu

dpkg or the debian package manager is package manager for debian and other debian based Linux distributions like Ubuntu. dpkg can be used for a variety of purposes

  1. Installation of packages
  2. Removal of packages
  3. Knowing the current state of a package
  4. Cloning a machine

Let’s see how each of these can be done using dpkg.

  1. Package Installation
    1. How to find the installed packages in your Ubuntu machine?
    2. How to see the list of available packages in Ubuntu?
  2. Package Removal
    1. dpkg: purge versus remove
    2. Remove all packages marked as rc by dpkg
    3. Purge packages using dpkg
    4. Remove a package marked as rc by dpkg
    5. Remove packages using dpkg
  3. Package listing (dpkg –list)
    1. What does pn correspond to in dpkg (–list)?
    2. What does ii correspond to in dpkg (–list)?
    3. What does rc correspond to in dpkg (–list)?
  4. Package Current State
    1. How to see the Current State of package (Ubuntu)?
    2. How to interpret the status of dpkg (–list)?
  5. Cloning a machine
    1. dpkg –set-selections: Clone your Ubuntu Machine (package state)
    2. dpkg –get-selections: Get the Current State of Your Ubuntu/Debian machine

Please leave your valuable comments.

Tags: , , , , , , , , ,

Comments:

1 Comment

  • mario says:

    Really clear and very useful. Compliments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.