Package bash-completion missing from Yum in CentOS 6

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
16
down vote

favorite
6












I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum install bash-completion, but when I do this, I get this back:



Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirror.anl.gov
* extras: yum.singlehop.com
* updates: mirror.ubiquityservers.com
Setting up Install Process
No package bash-completion available.
Error: Nothing to do


I am new to CentOS/Yum so I am lost- is there some repository I should add?









share

























    up vote
    16
    down vote

    favorite
    6












    I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum install bash-completion, but when I do this, I get this back:



    Loaded plugins: fastestmirror, refresh-packagekit
    Loading mirror speeds from cached hostfile
    * base: mirror.anl.gov
    * extras: yum.singlehop.com
    * updates: mirror.ubiquityservers.com
    Setting up Install Process
    No package bash-completion available.
    Error: Nothing to do


    I am new to CentOS/Yum so I am lost- is there some repository I should add?









    share























      up vote
      16
      down vote

      favorite
      6









      up vote
      16
      down vote

      favorite
      6






      6





      I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum install bash-completion, but when I do this, I get this back:



      Loaded plugins: fastestmirror, refresh-packagekit
      Loading mirror speeds from cached hostfile
      * base: mirror.anl.gov
      * extras: yum.singlehop.com
      * updates: mirror.ubiquityservers.com
      Setting up Install Process
      No package bash-completion available.
      Error: Nothing to do


      I am new to CentOS/Yum so I am lost- is there some repository I should add?









      share













      I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum install bash-completion, but when I do this, I get this back:



      Loaded plugins: fastestmirror, refresh-packagekit
      Loading mirror speeds from cached hostfile
      * base: mirror.anl.gov
      * extras: yum.singlehop.com
      * updates: mirror.ubiquityservers.com
      Setting up Install Process
      No package bash-completion available.
      Error: Nothing to do


      I am new to CentOS/Yum so I am lost- is there some repository I should add?







      centos yum





      share












      share










      share



      share










      asked Sep 20 '11 at 21:23









      sans

      183115




      183115




















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          14
          down vote



          accepted










          CentOS needs to have EPEL Yum repository enabled in order to install bash-completion package.



          See https://fedoraproject.org/wiki/EPEL for details.






          share|improve this answer





























            up vote
            7
            down vote













            There is only one command you have to get bash-completion:



            yum install epel-release.noarch bash-completion.noarch





            share|improve this answer




















            • Concisely perfect!
              – 1111161171159459134
              Jul 12 '16 at 14:36

















            up vote
            4
            down vote














            1. Download the bash-completion RPM



              wget http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm




            2. Install the RPM



              rpm -ivh bash-completion-20060301-1.noarch.rpm




            3. Execute the command



              . /etc/bash_completion




            4. Now you can try the autocompletion



              yum ins — [TAB][TAB]



            Edit: for Centos 6, you can grab this RPM






            share|improve this answer






















            • Installing unsigned packages from untrusted source is huge security risk.
              – gavenkoa
              May 31 '17 at 10:59

















            up vote
            0
            down vote













            If you don't have EPEL installed then first run:



            yum install epel-release


            Then run the following command:



            yum install bash-completion --enablerepo=epel


            After installation you have to logout/login in order for it to start working. To start using it in the current session, source it with the . command:



            . /etc/bash_completion




            share




















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f21135%2fpackage-bash-completion-missing-from-yum-in-centos-6%23new-answer', 'question_page');

              );

              Post as a guest






























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              14
              down vote



              accepted










              CentOS needs to have EPEL Yum repository enabled in order to install bash-completion package.



              See https://fedoraproject.org/wiki/EPEL for details.






              share|improve this answer


























                up vote
                14
                down vote



                accepted










                CentOS needs to have EPEL Yum repository enabled in order to install bash-completion package.



                See https://fedoraproject.org/wiki/EPEL for details.






                share|improve this answer
























                  up vote
                  14
                  down vote



                  accepted







                  up vote
                  14
                  down vote



                  accepted






                  CentOS needs to have EPEL Yum repository enabled in order to install bash-completion package.



                  See https://fedoraproject.org/wiki/EPEL for details.






                  share|improve this answer














                  CentOS needs to have EPEL Yum repository enabled in order to install bash-completion package.



                  See https://fedoraproject.org/wiki/EPEL for details.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Sep 26 '13 at 4:47









                  Community♦

                  1




                  1










                  answered Sep 20 '11 at 21:28









                  Ignacio Vazquez-Abrams

                  32.5k66880




                  32.5k66880






















                      up vote
                      7
                      down vote













                      There is only one command you have to get bash-completion:



                      yum install epel-release.noarch bash-completion.noarch





                      share|improve this answer




















                      • Concisely perfect!
                        – 1111161171159459134
                        Jul 12 '16 at 14:36














                      up vote
                      7
                      down vote













                      There is only one command you have to get bash-completion:



                      yum install epel-release.noarch bash-completion.noarch





                      share|improve this answer




















                      • Concisely perfect!
                        – 1111161171159459134
                        Jul 12 '16 at 14:36












                      up vote
                      7
                      down vote










                      up vote
                      7
                      down vote









                      There is only one command you have to get bash-completion:



                      yum install epel-release.noarch bash-completion.noarch





                      share|improve this answer












                      There is only one command you have to get bash-completion:



                      yum install epel-release.noarch bash-completion.noarch






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Sep 9 '15 at 11:33









                      Dmitry Shost

                      21121




                      21121











                      • Concisely perfect!
                        – 1111161171159459134
                        Jul 12 '16 at 14:36
















                      • Concisely perfect!
                        – 1111161171159459134
                        Jul 12 '16 at 14:36















                      Concisely perfect!
                      – 1111161171159459134
                      Jul 12 '16 at 14:36




                      Concisely perfect!
                      – 1111161171159459134
                      Jul 12 '16 at 14:36










                      up vote
                      4
                      down vote














                      1. Download the bash-completion RPM



                        wget http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm




                      2. Install the RPM



                        rpm -ivh bash-completion-20060301-1.noarch.rpm




                      3. Execute the command



                        . /etc/bash_completion




                      4. Now you can try the autocompletion



                        yum ins — [TAB][TAB]



                      Edit: for Centos 6, you can grab this RPM






                      share|improve this answer






















                      • Installing unsigned packages from untrusted source is huge security risk.
                        – gavenkoa
                        May 31 '17 at 10:59














                      up vote
                      4
                      down vote














                      1. Download the bash-completion RPM



                        wget http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm




                      2. Install the RPM



                        rpm -ivh bash-completion-20060301-1.noarch.rpm




                      3. Execute the command



                        . /etc/bash_completion




                      4. Now you can try the autocompletion



                        yum ins — [TAB][TAB]



                      Edit: for Centos 6, you can grab this RPM






                      share|improve this answer






















                      • Installing unsigned packages from untrusted source is huge security risk.
                        – gavenkoa
                        May 31 '17 at 10:59












                      up vote
                      4
                      down vote










                      up vote
                      4
                      down vote










                      1. Download the bash-completion RPM



                        wget http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm




                      2. Install the RPM



                        rpm -ivh bash-completion-20060301-1.noarch.rpm




                      3. Execute the command



                        . /etc/bash_completion




                      4. Now you can try the autocompletion



                        yum ins — [TAB][TAB]



                      Edit: for Centos 6, you can grab this RPM






                      share|improve this answer















                      1. Download the bash-completion RPM



                        wget http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm




                      2. Install the RPM



                        rpm -ivh bash-completion-20060301-1.noarch.rpm




                      3. Execute the command



                        . /etc/bash_completion




                      4. Now you can try the autocompletion



                        yum ins — [TAB][TAB]



                      Edit: for Centos 6, you can grab this RPM







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Feb 7 '12 at 22:13









                      Kevin

                      26.3k105997




                      26.3k105997










                      answered Oct 4 '11 at 15:45









                      iDon

                      412




                      412











                      • Installing unsigned packages from untrusted source is huge security risk.
                        – gavenkoa
                        May 31 '17 at 10:59
















                      • Installing unsigned packages from untrusted source is huge security risk.
                        – gavenkoa
                        May 31 '17 at 10:59















                      Installing unsigned packages from untrusted source is huge security risk.
                      – gavenkoa
                      May 31 '17 at 10:59




                      Installing unsigned packages from untrusted source is huge security risk.
                      – gavenkoa
                      May 31 '17 at 10:59










                      up vote
                      0
                      down vote













                      If you don't have EPEL installed then first run:



                      yum install epel-release


                      Then run the following command:



                      yum install bash-completion --enablerepo=epel


                      After installation you have to logout/login in order for it to start working. To start using it in the current session, source it with the . command:



                      . /etc/bash_completion




                      share
























                        up vote
                        0
                        down vote













                        If you don't have EPEL installed then first run:



                        yum install epel-release


                        Then run the following command:



                        yum install bash-completion --enablerepo=epel


                        After installation you have to logout/login in order for it to start working. To start using it in the current session, source it with the . command:



                        . /etc/bash_completion




                        share






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          If you don't have EPEL installed then first run:



                          yum install epel-release


                          Then run the following command:



                          yum install bash-completion --enablerepo=epel


                          After installation you have to logout/login in order for it to start working. To start using it in the current session, source it with the . command:



                          . /etc/bash_completion




                          share












                          If you don't have EPEL installed then first run:



                          yum install epel-release


                          Then run the following command:



                          yum install bash-completion --enablerepo=epel


                          After installation you have to logout/login in order for it to start working. To start using it in the current session, source it with the . command:



                          . /etc/bash_completion





                          share











                          share


                          share










                          answered 7 mins ago









                          isapir

                          21624




                          21624



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f21135%2fpackage-bash-completion-missing-from-yum-in-centos-6%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?