Configuring Appium in Ubuntu from Scratch
1.Install node.js without using sudo Do not install node.js through apt-get, which will need sudo rights and appium will not work if node.js is installed as sudo user. If you have already installed remove it using commands: sudo apt-get remove nodejs sudo apt-get remove npm Download latest nodejs linux binaries from https://nodejs.org/download/release/latest/ Into a folder for example /home/superman/Downloads (where superman is your username and you have downloaded the file in Downloads) Now install it under /usr/local using cd /usr/local tar --strip-components 1 -xzf /home/superman/Downloads/node-v8.2.1-linux-x64.tar.gz Check the installation using node -v 2. Install java, jdk and jre sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk //to install oracle jdk sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer 3. Set the JAVA HOME path ...