Instalación ApacheCordova

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install nano -y
sudo apt-get install nodejs -y
sudo apt-get install npm -y

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

sudo apt-get install openjdk-8-jdk -y
sudo apt-get install openjdk-8-jre -y

sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default