Skip to content

Instantly share code, notes, and snippets.

@jbruchanov
Last active May 25, 2024 07:48
Show Gist options
  • Save jbruchanov/ade2e44f8aea52872386 to your computer and use it in GitHub Desktop.
Save jbruchanov/ade2e44f8aea52872386 to your computer and use it in GitHub Desktop.
STF Ubuntu Installation
#install oracle java https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
#ANDROIDSTUDIO
#necessary for mksdcard
sudo apt-get install lib32stdc++6
#edit ~/.profile and add env variables
export ANDROID_SDK="$HOME/android-sdk-linux"
PATH=$PATH:$ANDROID_SDK/platform-tools;$ANDROID_SDK/tools
##PREREQ
#Node.js >= 0.12
sudo apt-get install node.js
#ADB properly set up
#RethinkDB >= 2.2
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install rethinkdb
#GraphicsMagick (for resizing screenshots)
sudo apt-get install graphicsmagick
#ZeroMQ libraries installed
sudo apt-get install libzmq1
sudo apt-get install libzmq-dev
#Protocol Buffers libraries installed (seems part of rethinkDB)
sudo apt-get install libprotobuf*
#yasm installed (for compiling embedded libjpeg-turbo)
sudo apt-get install yasm
sudo apt-get install npm
sudo apt-get install nodejs-legacy
npm install --save jpeg-turbo
#pkg-config so that Node.js can find the libraries
sudo apt-get install pkg-config
##STF
sudo apt-get install git
mkdir ~/stf
cd ~/stf
sudo npm install -g stf
##Continue here
https://github.com/openstf/stf/tree/2.0.0#running
@Emperorlou
Copy link

What version of Ubuntu is recommended?

@jbruchanov
Copy link
Author

I don't think I can recommend any version,
just tried it with latest stable version at 2016...

Didn't even know this doc is public 😄

@jbruchanov
Copy link
Author

Also ^^ doc was for version 2.0.0, now it's 3.4.1 so it's not probably helpful today..

@Emperorlou
Copy link

Okay thanks!

@yuio4235
Copy link

I am using ubuntu 20.04.
Not able to install zeromq.
The commands are:
sudo apt-get install libzmq1
sudo apt-get install libzmq-dev

Is there any solution to solve it?

I've tried libzemq3-dev, but it is compatible with Node.js 8.X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment