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

Re: getting full package name

On Tue, 2004-09-07 at 05:18, Craig Jackson wrote:
> Hi,
> If I would like to know the name of a package, for example dhcp,
> installed on the system, I would run
> dpkg -l | grep dhcp
> Most of the time I get the right name and I'm happy. But there are times
> when the name of the package is so long that I cannot tell what the name
> is.
> In that situation if grep through the file /var/lib/dpkg/available and I
> find the full name.
> This is just a helpful hint for newbies that may have this problem.

This is easier:

  COLUMNS=200 dpkg -l dhcp\*

Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
     "For whosoever shall call upon the name of the Lord 
      shall be saved."         Romans 10:13 

Reply to: