How To Install python-django-bash-completion on Fedora 36

In this tutorial we learn how to install python-django-bash-completion in Fedora 36. python-django-bash-completion is Bash completion files for Django

Introduction

In this tutorial we learn how to install python-django-bash-completion on Fedora 36.

What is python-django-bash-completion

This package contains the Bash completion files form Django high-level Python Web framework.

We can use yum or dnf to install python-django-bash-completion on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python-django-bash-completion.

Install python-django-bash-completion on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python-django-bash-completion using dnf by running the following command:

sudo dnf -y install python-django-bash-completion

Install python-django-bash-completion on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python-django-bash-completion using yum by running the following command:

sudo yum -y install python-django-bash-completion

How To Uninstall python-django-bash-completion on Fedora 36

To uninstall only the python-django-bash-completion package we can use the following command:

sudo dnf remove python-django-bash-completion

python-django-bash-completion Package Contents on Fedora 36

/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/django-admin
/usr/share/bash-completion/completions/django-admin-3
/usr/share/bash-completion/completions/django-admin-3.10
/usr/share/bash-completion/completions/django-admin.py
/usr/share/bash-completion/completions/manage.py
/usr/share/bash-completion/completions/python3-django-admin

References

Summary

In this tutorial we learn how to install python-django-bash-completion on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).