Thursday, 2 February 2017

Appium Setup on Ubuntu


Appium Setup on Ubuntu 16.10

Hello Friends,

Today I am going to discuss about the installation and setup process of Appium on Ubuntu. Don’t worry much about the version of Ubuntu as It will remain same for older versions of Ubuntu as well (I hope So !!). I was personally using Android Studio but you can use other tools as well(like eclipse, IntelliJ IDEA editor etc.,). Before we start installing and setup of Appium, Let’s have look at the tools we need to download. Install JDK latest version and then,

Download -
  1. Android Studio (You can use any IDE)

Note: Try to get the latest versions of each of the tools. Otherwise, you may stuck somewhere either during the setup or may be after using it for few days.

Setup Appium

1. Install ruby: 
Paste the below command at terminal and hit enter
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev 
libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
 
2.Install linux brew:
Paste the below command at terminal and hit enter 
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/
Homebrew/linuxbrew/go/install)"
 
3.set path for brew 
Type: gedit.bashrc at terminal and copy paste following into the .bashrc file 
export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
 
4.Install node:
Paste the below commands one by one at terminal and hit enter 
brew update
brew install node
brew link node
 
5.Install appium 
npm install -g appium
npm install wd 
To start appium: Paste the below command at terminal and hit enter 
appium


I hope it should work for all the versions of Ubuntu. I did it on Ubuntu(16.10). If you face any difficulty installing and setting up Appium, Leave a comment below. I would love to help you out.



No comments:

Post a Comment