How-to Install Django on Ubuntu 12.04
In this tutorial, I will show you how-to install Django on Ubuntu. We will frist check to see if Python is installed, this is because Django requires Python to be installed.
In this tutorial, I will show you how-to install Django on Ubuntu.
We will frist check to see if Python is installed, this is because Django requires Python to be installed.
python --version
If Python is not installed, you can install it using the following command:
sudo apt-get install python
If Python is installed or once Python is installed, you can follow these steps to install Django on Ubuntu 12.04:
- Firstly, install pip, which is a package manager for Python:
sudo apt-get install python-pip
- Use pip to install Django:
sudo pip install Django
- You may now verify if Django has been installed by typing the following command:
django-admin --version
That's it! You have successfully installed Django on Ubuntu 12.04.