问题
I am trying to download Appium Desktop in Ubuntu 16 (I've just been using the terminal to run it so far).
I understand that for Ubuntu, I must download the source code release they have on git (Source Code tar.gz), as apposed to their .exe (windows) or .dmg (mac) releases. After downloading it and un-tarring it, I do not know how to "install" it. I tried reading the README.md, but cannot find the instruction. How to do this?
Many thanks in advance
回答1:
1.2.0-beta.2 offers an AppImage for Linux - https://github.com/appium/appium-desktop/releases/
Download it, run chmod a+x on it, and then ./AppImage to execute it.
回答2:
Offical url: https://github.com/appium/appium-desktop/releases
If you have no idea which file to download, there's a file contains "linux" and end with format "yml", the file name is contained in it.
The file should be an AppImage file as above mentioned, you should change the permission by checking box of "Allow executing file as program" of its "Properties".
And then run "./appiumimagename" in terminal to launch Appium Desktop or install it.
回答3:
- Install node.js without using sudo-
if your already installed nodejs using sudo use the below commands to remove from your machine
sudo apt-get remove nodejs
sudo apt-get remove npm
2.Download latest nodejs linux binaries from https://nodejs.org/download/release/latest/
3.Now install it under /usr/local using
cd /usr/local
sudo mkdir node
cd node
tar --strip-components 1 -xzf /home/elan/Downloads/node/node-v8.2.1-linux- x64.tar.gz
Add path in ~/.bashrc
export PATH=$PATH:usr/local/node/bin
then provide appropriate access permission to the node folder
cd usr/local
sudo chmod -R 777 node
install appium globally
npm install -g appium
install appium doctor to troubleshoot
npm install -g appium-doctor
来源:https://stackoverflow.com/questions/46142739/how-to-download-appium-desktop-in-ubuntu-16