How To Install python34-argcomplete on CentOS 7
Introduction
In this tutorial we learn how to install python34-argcomplete
on CentOS 7.
What is python34-argcomplete
Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. It makes two assumptions * You are using bash as your shell * You are using argparse to manage your command line arguments/options Argcomplete is particularly useful if your program has lots of options or subparsers, and if your program can dynamically suggest completions for your argument/option values (for example, if the user is browsing resources over the network). Python 3.4 version.
We can use yum
or dnf
to install python34-argcomplete
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python34-argcomplete.
Install python34-argcomplete on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python34-argcomplete
using yum
by running the following command:
Install python34-argcomplete on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install python34-argcomplete
using dnf
by running the following command:
How To Uninstall python34-argcomplete on CentOS 7
To uninstall only the python34-argcomplete
package we can use the following command:
References
Summary
In this tutorial we learn how to install python34-argcomplete
on CentOS 7 using yum
and dnf
.