How to install pip and selenium and phantomjs on ubuntu
Here are the answers: 
1) sudo apt-get install python-pip
2) sudo pip install selenium
3) sudo apt-get install phantomjs
tested working. i hope it helps you.
I run a python program that uses selenium and phantomjs and got these errors 2) and 3) then when I run pip install selenium i got error 1):
1) The program 'pip' is currently not installed.
2) ImportError: No module named 'selenium'
3) selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH.
All done on Ubuntu 14.04 x64