Searching using APT?

If none of the more specific forums is the right place to ask

Searching using APT?

Postby Carlosinfl » 2005-08-31 14:55

I know I can use APT to install packages but I have only been able to do so since I installed debian because I know the entire package name. How would I use Apt to search for packages?

I have read this link and don't see a way to search for something using apt commands:

http://www.debian.org/doc/manuals/apt-h ... ex.en.html
Carlosinfl
 
Posts: 889
Joined: 2005-02-05 06:11
Location: Orlando, FL

Postby Jeroen » 2005-08-31 15:50

apt-cache search <keyword(s)>

Which is documented in the document you refer to, under 'discovering package names':

http://www.debian.org/doc/manuals/apt-h ... ml#s-cache
Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
 
Posts: 571
Joined: 2004-04-06 18:19
Location: Utrecht, NL

Postby dawgie » 2005-08-31 20:52

Also, there is:
apt-cache policy name
You can find information about where the package is located, the available versions, and if you have it installed.
User avatar
dawgie
 
Posts: 431
Joined: 2004-06-16 21:30
Location: New Hampshire USA

Postby Guest » 2005-09-01 03:38

Why don't you do it the Windows Way, and run a GUI package manager like Synaptic or Kpackage?
If you are not familiar with the command-line, this will spare you some headaches, and it's by no means slower.
Guest
 

Postby lacek » 2005-09-01 07:46

Yet it is a bit hard to use a GUI if you just logged in to a remote computer via SSH...
It is always wise to know the command line... :D
lacek
Moderator Team Member
 
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable