2) install Bitcoin core
3) clone the ByteStamp repo
4) make the script executable
5) depending on your environment, put the script in your path
Done!
Now you can do
This will list BlockChain information about FILEs
If no file is registered to BlockChain then register FILEs
The script is self-explained and can be used to understand how to connect to ByteStamp webservices with any programming language.
For a deeper insight: How to register file into blockchain with Ubuntu