Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: apt-get find?

  1. #11
    Join Date
    Jan 2008
    Beans
    1,336

    Re: apt-get find?

    Same with aptitude search, you don't need sudo to search.

  2. #12
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: apt-get find?

    Quote Originally Posted by apmcd47 View Post
    Thanks - this is the sort of thing I was looking for. Apt-cache looks like the app to find all packages, installed or not. But I couldn't find a way to list the full description of a non-installed application. It's late - I'll sleep on it.

    Andrew
    apt-cache show foo

  3. #13
    Join Date
    Jun 2008
    Location
    UK
    Beans
    272
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: apt-get find?

    Quote Originally Posted by oldos2er View Post
    apt-cache show foo
    Didn't work for a non-installed package for me last night (aptitude show did).

    Just checked again now for a different package and it displayed the information. Odd.

    I shall have to have a play, take notes, read the docs I can find and possibly write my own wrappers.

    Thanks, all.

    Andrew

  4. #14
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: apt-get find?

    I never seem to be able to remember if apt-cache show works on installed packages only. Anyway, you might also want to look into the dpkg-query command.

  5. #15
    credobyte is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2009
    Beans
    1,559
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: apt-get find?

    Quote Originally Posted by oldos2er View Post
    I never seem to be able to remember if apt-cache show works on installed packages only. Anyway, you might also want to look into the dpkg-query command.
    Logically, apt-cache should extract data from packages, located at /var/cache/apt/archives, which means, they shouldn't be installed ( you can download packages & don't install them, etc. ) .. Tough, I'm not 100% sure if it's true.

  6. #16
    Join Date
    Dec 2007
    Location
    California
    Beans
    4,943
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: apt-get find?

    apt-cache search searches everything in that cache, both installed and not installed.

    apt-cache show will indicate whether the package is installed or not.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •