Cordova and PhoneGap Quick Start on Ubuntu 14.04 Trusty
Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest Apache Cordova 5.x and Adobe PhoneGap Cross-Platform Mobile Development on Ubuntu 14.04 Trusty Tahr LTS i386/amd64 GNU+Linux.
First, Apache Cordova is an Open-Source Mobile Development Framework that allows you to use Standard Web Technologies such as HTML5, CSS3, and JavaScript for Cross-Platform Development, avoiding each Mobile Platforms Native Development Language.
Then Adobe PhoneGap is an Open-Source Framework for Building Cross-Platform Native Applications using Standard Web Technologies such as HyperText Markup Language (HTML), Cascading Style Sheets (CSS), and JavaScript.

Open Terminal Shell Emulator Window
Ctrl+Alt+t
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
How to Install the Latest Node.js on Ubuntu Linux
Installing Required Git.
sudo apt-get install git
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Installing Latest Cordova with CLI by Npm.
cd
sudo npm install -g cordova
Testing Cordova Installation.
cordova
You should See the Cordova Help Notice…
How to Install Adobe PhoneGap for Ubuntu.