Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Searching for short package names (e.g. at or mc) in aptitude (not at command line but within the interactive tool) is annoying because I don't know a trick to avoid getting hits for plenty of packages that have these letters somewhere in their name when all I want to do is find at or mc themselves. (I have to jump through stuff like ttf-liberation or swat and many more when all I want is at and nothing but at.)

There must be a trick to solve this annoying issue, because I can't be the first person who gets overwhelmed by the large number of results...

share|improve this question
up vote 4 down vote accepted
  • To get information about the at package:

    aptitude show at
  • To search for a literal at:

    aptitude search ^at$

    (^ is a regular expression character that indicated a match from the beginning, $ the end)

share|improve this answer
Awesome. The expression ^at$ in the second command you mention works also within the search field of aptitude's interactive tool. Exactly what I was looking for. Thanks a lot. heh. – zebonaut Jun 17 '11 at 20:28
I've now one Ki reputation :D And regular expressions is one of the most useful inventions imo – Lekensteyn Jun 17 '11 at 20:33
Dank je wel voor de quick and good answer! – zebonaut Jun 17 '11 at 20:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.