Articles


Installing Ionic version 2 on Ubuntu 14.04 and 16.04

Installing Ionic version 2 on Ubuntu 14.04 and 16.04



Posted bynitheesh,1st Jan 2017

1. First you have to install latest version of Java JDK, ie JDK 8. 

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

sudo apt-get install oracle-java8-set-default

This will install install JDK 8 on your Ubuntu machine and will set the java 8 as default.

2. Install node.js 

sudo apt-get install -y nodejs

3. After that you should install Android Studio and the Android SDK from Google (https://developer.android.com/sdk/index.html)

4. Then install Ionic CLI and related tools.

sudo apt-get install git ruby

sudo gem install compass

sudo npm install -g cordova ionic grunt-cli bower gulp

Create a new project using ionic cli tool

ionic start ProjectName --v2

cd ProjectName

ionic serve