Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

2  
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
add comment

1 Answer 1

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
add comment