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: , , , , , , ,

 
1

How to find the package to which a file belongs (Ubuntu)?

Posted by Joys of Programming on in Ubuntu

If you are working in Ubuntu/Debian, you may want to know the package to which a particular file belongs to. Take for example, you want to find out the package to which the command ‘ls’ is found. For this purpose, you must know the complete path of the command which can be found out easily [...]

Tags: , , , , , ,

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