How To Install the Django Web Framework on Ubuntu 22.04

In this tutorial, i am going to show you how to install and uninstall the django web framework on ubuntu 22.04.

On the basis of wikipedia :- Django is a free and open-source, Python-based web framework that follows the model–template–views architectural pattern. It is maintained by the Django Software Foundation, an independent organization established in the US as a 501 non-profit.

How To Install the Django Web Framework on Ubuntu 22.04

Let’s follow the below given steps to install and uninstall django web framework on ubuntu 22.04:

  • Step 1 – Update System Dependencies
  • Step 2 – Install Django
  • Step 3 – Verify Installation
  • Step 4 – Uninstall Django

Step 1 – Update System Dependencies

Run the following command on terminal to update system dependencies:

sudo apt update

Step 2 – Install Django

Run the following command on terminal to install Django web framework on the ubuntu 22.04 system:

sudo apt install python3-django -y

Step 3 – Verify Installation

Once the Django installation has been done, run the following command on the terminal to verify Django installation on ubuntu 22.04 system:

django-admin --version

Step 4 – Uninstall Django

To remove this installed package of Django use the purge command:

sudo apt purge python3-django -y

Conclusion

In this tutorial, i have shown to you how to install and uninstall the django web framework on ubuntu 22.04.

More Tutorials

Leave a Comment