Basic commands for searching packages is with apt-cache. For example let's say I want a new hex editor:
- Code: Select all
apt-cache search "hex editor"
Then to see specifics on a package, for example ghex:
- Code: Select all
apt-cache show ghex
Or to see from where it will be/is installed:
- Code: Select all
apt-cache policy ghex
See "man apt-cache" for more information.
You may instead also want to look into using aptitude, which is a menu driven terminal application which can do as much and more as Synaptic. Though it has a bit of a learning curve...