0

dpkg tutorial – Package Manager for Ubuntu / Debian

Posted by Joys of Programming on May 14, 2010 in Linux, Ubuntu, dpkg

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 Installation of packages Removal of packages Knowing the current state of a package Cloning a machine Let’s see how each of these can be done using dpkg. [...]

Tags: , , , , , , , , ,

 
0

How to find the installed packages in your Ubuntu machine?

Posted by Joys of Programming on May 13, 2010 in Linux, Ubuntu, dpkg

Before moving further, go through Understanding the state of a package. If the state of a package is “ii“, the package is installed. With this logic, we can find the installed packages in the system $ dpkg –list| grep “^ii” ii acpi-support 0.136 scripts for handling many ACPI events ii acpid 1.0.10-5ubuntu2 Advanced Configuration and [...]

Tags: , , ,

 
0

dpkg –set-selections: Clone your Ubuntu Machine (package state)

Posted by Joys of Programming on May 13, 2010 in Linux, Ubuntu, dpkg

If you want to clone another machine in a similar way as one of your other machine, you can make use of dpkg command. What does cloning mean? Cloning a machine means installing the same packages (sometimes even settings) as found in the source machine. dpkg allows you to get the current state of your [...]

Tags: , , , , ,

 
3

Remove all packages marked as rc by dpkg

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, dpkg

Let’s see all the packages marked as rc by dpkg. Know more about the state rc. This state means that the configuration files are not yet removed. You can see how a single package can be removed. $ dpkg –list |grep “^rc” rc bsh 2.0b4-10ubuntu2 Java scripting environment (BeanShell) Versi rc devicekit-disks 007-2ubuntu6 abstraction for [...]

Tags: , , , ,

 
0

dpkg –get-selections: Get the Current State of Your Ubuntu/Debian machine

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, dpkg

dpkg can be used for a variety of purposes. It can be used to install and remove packages. But one of the best feature which you can use is to save the current state of your machine. What is current state of your machine? You may be wondering what does the current state means. Your [...]

Tags: , , , ,

 
0

Purge packages using dpkg

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, dpkg

dpkg can be used to install packages remove packages know the current status of packages When we decide to remove a package, we must be clear that we want to remove or purge a package. When we purge packages using dpkg, it removes not only the binaries but also the configuration files and the state [...]

Tags: , ,

 
0

dpkg: purge versus remove

Posted by Joys of Programming on May 12, 2010 in Linux, Ubuntu, dpkg

dpkg can be used to install, remove and check the current state of a package. Every package contains the following components package binaries configuration files dpkg has two options –remove and –purge. Both these options are used to remove package contents. But there is a significant difference between the two.’ dpkg –remove is used to [...]

Tags: , , ,

Pages: 1 2 3 Next

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