Skip to content

Instantly share code, notes, and snippets.

@shoaibali
Last active September 26, 2021 07:11
Show Gist options
  • Save shoaibali/ec9097890ca59003160a to your computer and use it in GitHub Desktop.
Save shoaibali/ec9097890ca59003160a to your computer and use it in GitHub Desktop.
STF install shell script for ubuntu trusty
sudo apt-get install android-tools-adb android-tools-fastboot
wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
sudo mv adb /usr/bin/adb
sudo chmod +x /usr/bin/adb
adb devices
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get install graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat
wget http://download.zeromq.org/zeromq-4.1.3.tar.gz
tar -zxvf zeromq-4.1.3.tar.gz
cd zeromq-4.1.3/
wget https://launchpad.net/ubuntu/+archive/primary/+files/libsodium_1.0.3.orig.tar.gz
tar -zxvf libsodium_1.0.3.orig.tar.gz
cd libsodium-1.0.3
./autogen.sh
./configure
sudo make install
cd ..
./configure
sudo make install
cd ..
git clone https://github.com/google/protobuf.git
cd protobuf
./autogen.sh
./configure
make
sudo make install
cd ..
git clone git://github.com/yasm/yasm.git
cd yasm
./autogen.sh
./configure
make
sudo make install
cd ..
sudo apt-get install nodejs-legacy
git clone https://github.com/openstf/stf.git
cd stf
sudo npm install -g stf
sudo npm install
sudo npm link
rethinkdb --http-port 8282 &
sudo ldconfig
#git checkout tags/v1.0.10
npm local &
firefox http://localhost:7100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment