0

How to find the installed packages in your Ubuntu machine?

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

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

What does pn correspond to in dpkg (–list)?

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

You can install packages using dpkg. dpkg is quite a useful command line tool. In addition to installing packages, dpkg also helps to remove packages and know the status of packages. While checking the status of packages using dpkg, you may come across the state rc. $ dpkg –list Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: [...]

Tags: , , ,

 
0

How to see the Current State of package (Ubuntu)?

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

Two commands can be used to see the current state of a package. dpkg dpkg-query Let’s assume that the package vim is currently installed. Current state of a package Using dpkg dpkg –list can be used to know the status of a package. $ dpkg –list vim Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ [...]

Tags: , , , , , , ,

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