How to Install Appium on Ubuntu

本文详细介绍了如何在Ubuntu系统上逐步安装Appium。包括安装node.js、npm及使用LinuxBrew等步骤,并提供了具体的命令行指令。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://www.qaautomated.com/2016/11/how-to-install-appium-on-ubuntu.html

How to Install Appium on Ubuntu

In this post we will step by step install appium on Ubuntu System. So lets get to the point and start installation.


Note -Appium throws error if you install via SUDO so install Appium via npm 


1. To install Appium via an npm you need  node.js and npm 0.12 or greater.


2. To install node.js and appium without sudo we use linuxbrew.

3. To install linuxbrew these are the dependencies

    Ruby 1.8.6 or newer
    GCC 4.2 or newer
    Git 1.7.12.4 or newer
    Linux 2.6.16 or newer
    64-bit x86 or 32-bit ARM platform

4. Install Ruby using below command

sudo apt-get install build-essential curl git m4 python-setuptools ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev


5. Install Linux Brew using below command

ruby -e “$(curl -fsSL 
https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"



6. Set Path for brew

first type  sudo gedit.bashrc in terminal  and copy the below in the . bashrc file.export 
 
PATH="$HOME/.linuxbrew/bin:$PATH"exportMANPATH="$HOME/.linuxbrew/share/man:$MANPATH"export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"



7 .Install Node:Open new terminal and copy the command and press enter
brew update
brew install node
brew link node
 


8.Finally Install Appium using below command 
npm install -g appium

9.Let's Check if the installation is successfull. Open the terminal and type "appium" and hit enter.You should see something like this in the terminal

info: Welcome to Appium v1.4.12(REV 8db2d00b9afcf2c50a09a80a2e8d56b05a902caf)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值