Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Possible Duplicate:
Tab completion for commands

Aptitude command is missing from Ubuntu 10.10. I just installed it using apt-get install aptitude but it doesn't support autocompletion as it was doing in the previous version of Ubuntu. And as a relatively new user i find aptitude with autocompletion of packages names is way easier to use. So how to bring autocompletion back to aptitude on 10.10

share|improve this question

marked as duplicate by Marco Ceppi Oct 15 '10 at 12:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Hm, works for me. Do you have the package 'bash-completion' installed? Do you have a file '/etc/bash_completion.d/aptitude'? – htorque Oct 15 '10 at 12:04
@ htroque : I have the package installed and the file is present. The solution below worked very good. – Lattice Oct 16 '10 at 15:22
up vote 4 down vote accepted

If you just install it maybe you just need to make aptitude aware of the existing packages (by an sudo aptitude update) and restart your terminal. You can also try : sudo dpkg-reconfigure bash-completion.

share|improve this answer
That worked ! thanks :) – Lattice Oct 16 '10 at 15:22