Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-27-2010, 01:47 PM   #1
LQ Newbie
Registered: May 2010
Location: Groningen
Distribution: Debian, Sidux and LFS (working on that one :-)
Posts: 5

Rep: Reputation: 1
Smile apt-get autocomplete

Hey all!

I used to run Sidux and every time I wanted a package I could use the auto-complete with tab like I'm used to in BASH. My girlfriend uses Ubuntu and it didn't work there. Now I switched to Debian, and it doesn't work there either.
I tried the usual suspects (man bash, man apt, man apt-get, info, --help and google :-)

Does anyone have an idea how I can switch the completion back on?

Thanks in advance!
Old 05-27-2010, 02:21 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
Install bash-completion
1 members found this post helpful.
Old 05-31-2010, 03:32 PM   #3
LQ Newbie
Registered: May 2010
Location: Groningen
Distribution: Debian, Sidux and LFS (working on that one :-)
Posts: 5

Original Poster
Rep: Reputation: 1
SOLVED apt-get auto-comletion

Hey all!

Apt-get is autocompleting again!

I added the folowing in /root/.bashrc

if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
After that, just exit as root, give su again, and its ready to use.
Since one can only use apt-get as root, there is no real need for puting it in your personal ~/.bashrc

Thank you Koen Vervloesem
Thanks all!
1 members found this post helpful.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoComplete(Suggestions) sci3ntist Programming 2 04-22-2007 08:09 AM
Tab autocomplete magic_ghost Linux - Software 1 03-17-2006 12:04 PM
Autocomplete my username... fatrandy13 Linux - General 3 10-14-2005 04:02 PM
autocomplete figadiablo Linux - General 6 03-13-2002 04:19 PM
autocomplete marksstroud Linux - Newbie 1 11-11-2001 01:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration