Setup Git(if you haven’t already), using your own name and email:
git config --global user.name "LastName, Firstname"
git config --global user.email "email@address.com"
git config --global push.default simple
git config --global core.editor "nano"
Check out the popupCAD git repository
cd ~
git clone https://github.com/popupcad/popupcad.git
cd ~/popupcad/
git checkout -t origin/pyqt4_only
git pull
Add popupcad directory to PYTHONPATH:
echo "export PYTHONPATH=\$PYTHONPATH:~/popupcad" >> ~/.bash_profile
source ~/.bash_profile