Darac Marjal <mailingl...@darac.org.uk> writes: > On Wed, Oct 12, 2011 at 09:45:19AM -0500, Harry Putnam wrote: >> How can I quickly get version information for packages I have >> installed. I mean the common kind of notion used throughout linux. > > If you want the version information for PACKAGES, try "dpkg -l|grep > '^i'", though I'm not entirely certain what kind of notation is > "commonly used throughout linux".
Good thanks for that tip. That's just what I was looking for. I guess one could nitpik what is actually the accepted notation but maybe I should have said through linux (except debian). I think you'll find that `pkg-version' is a very typical notion when referencing a version for communication... maybe pkg version would be high on the list too. whereas aptitude versions xorg => ihA 1:7.6+9 testing 500 Is not. You don't even get the pkg name together with the version at all so copy paste becomes copy edit paste. > [...] > Part of the problem may be that many packages provide a number of > commands not equal to one. How would you propose finding the version of > a library or a documentation package? I'm not sure what you mean there, but for example.. if you search a pkg at: http://packages.debian.org/squeeze/xorg-dev It will show up with a version notation. So I'm thinking the OS must have that information somewhere. >> Surely there is a standard way to see version information at a glance >> and be able to copy paste it to email or whatever in a couple of moves >> instead of dinking around for 5/6 minutes to get it. dpkg -l|grep '^i' does that pretty nicely... thanks again. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87vcru9p70....@newsguy.com