for those new to debian systems

Jude DaShiell jdashiel at shellworld.net
Thu Dec 13 04:22:25 UTC 2007


Another useful command is apt-file.  You can use it to search for a file 
and if the file is anywhere in the debian package hierarchy as well as on 
your machine you'll get to find out which package has that particular 
file.



On Wed, 12 Dec 2007, Matt Barnes wrote:

> Another one that I use to list my installed packages is:
> dpkg -l * | grep ii | more
>
> It lists all packages, greps out those marked as ii (installed) on the
> system, and pipes it to more (screen full at a time). I usually put this in
> a shell-script so it can be run at anytime.
>
> Also, depending on your screen reader, I like to use the -q option with
> apt-get. It will cause the progress indicators to be silent and cuts out
> quite a bit of the spam.
>
>
> On Dec 12, 2007 9:25 AM, Aldo <blinuxman at tuxfamily.org> wrote:
>
>> On Wed, Dec 12, 2007 at 05:29:18AM -0600, Jude DaShiell wrote:
>>> Try a couple commands like: which apt-cache.  If that comes back with a
>>> file name, you can do apt-cache search "search string" and find what
>>> packages might do that.  I like apt-cache search "search string" | less
>>> though better.  less is a output pager quite useful to have on systems
>>> too.
>>
>> Maybe a good extra command is apt-cache show appname  like in
>> apt-cache show lynx
>> With the search param you can't see details, while show shows details,
>> author, dependences, conflicts, suggested extra packages, and recommended
>> extras, very useful IMHO.
>>
>> Aldo.
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>




More information about the Blinux-list mailing list