[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: newbie package question



On Sat, Aug 14, 2004 at 04:37:07PM -0400, Tong wrote:
> I vaguely remember that apt-get has the ability to report version
> numbers by reading its man page, but I can be quite wrong...

COLUMNS=200 dpkg -l | awk '/^ii/ {print $3}'

Will give you the version. As for apt-get, well:

apt-get showpkg <foo>

was probably what you were thinking of, no?

-- Thomas Adam
--
"Frankly, Mr. Shankly, since you ask. You are a flatulent pain in 
the arse." -- Morrissey.



Reply to: