I am using Ubuntu 14.04 version. I would like to use Ionic to build app for Android. I couldn\'t find exact solution to install Ionic.
As Others have stated: Install the following:
So Java+git+abt first:
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
sudo apt-get install ant git
choose an Node version:
#0.12
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
or
#5.x
https://deb.nodesource.com/setup_5.x
eitherway:
sudo apt-get install -y nodejs
If you're on an x64 machine:
sudo apt-get install ia32-libs lib32ncurses5-dev lib32stdc++6
if ia32-libs+lib32ncurses5 are not found use:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Next: Android Sdk Download AndroidStudio/ or Standalone Sdk. I would recommend Studio, as it simplifies the installation-process a lot
Add SDK to PATH: append to ~/.bash_profile or ~/.profile
export ANDROID_HOME=/home/xyx/Android/sdk export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
Finally install the node modules
sudo npm install -g gulp bower grunt-cli cordova
And ionic
sudo npm install -g ionic
or for ionic v2 (still in alpha state but cool++)
sudo npm install -g ionic@alpha