This is a discussion on wild-card package search from command line within the Debian Linux support forums, part of the Debian Linux category; --> Hello: I'm using kubuntu 7.04. I'm a command line type of fellow, but new to debian engineering. If I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello: I'm using kubuntu 7.04. I'm a command line type of fellow, but new to debian engineering. If I open the adept manager and type in "32" in the search window, I get a list of packages (installed and uninstalled) associated with that string. What is the command-line syntax that will give me the same results, so that I can capture those results? Thanks Tim |
| |||
| Tim Johnson <tim@johnsons-web.com>: > > I'm using kubuntu 7.04. > > I'm a command line type of fellow, but new to debian engineering. > > If I open the adept manager and type in "32" in the search window, > I get a list of packages (installed and uninstalled) associated > with that string. > > What is the command-line syntax that will give me the same results, > so that I can capture those results? aptitude update && aptitude search 32 There's lots of cool pattern matching thingies you can use but I've never needed them enough to learn them. You only need to do the update once per session. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. |
| |||
| * Tim Johnson wrote in alt.os.linux.debian: > Hello: > I'm using kubuntu 7.04. > I'm a command line type of fellow, but new to debian engineering. > If I open the adept manager and type in "32" in the search window, > I get a list of packages (installed and uninstalled) associated > with that string. > What is the command-line syntax that will give me the same results, > so that I can capture those results? apt-cache search <search string> > file.txt -- David The Usenet Improvement Project: http://improve-usenet.org/ First law of debate: Never argue with a fool. People might not know the difference. |
| |||
| SINNER wrote: > * Tim Johnson wrote in alt.os.linux.debian: >> Hello: > >> I'm using kubuntu 7.04. > >> I'm a command line type of fellow, but new to debian engineering. > >> If I open the adept manager and type in "32" in the search window, >> I get a list of packages (installed and uninstalled) associated >> with that string. > >> What is the command-line syntax that will give me the same results, >> so that I can capture those results? > > apt-cache search <search string> > file.txt > Wham! Thanks to both of you. regards Tim |
| |||
| On Sat, 29 Sep 2007 08:17:36 -0800, Tim Johnson wrote: > If I open the adept manager and type in "32" in the search window, I get > a list of packages (installed and uninstalled) associated with that > string. > > What is the command-line syntax that will give me the same results, so > that I can capture those results? I like the findpkg utility: http://www.infodrom.org/Infodrom/tools/findpkg.html ---<(kaimartin)>--- -- Kai-Martin Knaak http://lilalaser.de/blog |
| ||||
| Kai-Martin Knaak wrote: > I like the findpkg utility: > http://www.infodrom.org/Infodrom/tools/findpkg.html > > ---<(kaimartin)>--- Thanks Kai. Good tip! BTW: Script didn't work with sh, got error: "(" unexpected changed she-bang path to bash to make it work. Regards tim |