sudo apt-get update
sudo apt-get install libmosquitto-dev
sudo apt-get install libeigen3-dev

#1.1 Build OPCUA
open62541_zip_file="open62541-pack-master"
unzip Libraries/Systems/$open62541_zip_file.zip -d Libraries/Systems/  
mv Libraries/Systems/$open62541_zip_file Libraries/Systems/open62541
mkdir -p Libraries/Systems/open62541/build
cd Libraries/Systems/open62541/build
cmake ..
make
sudo make install
cd ../../../..
rm -fr Libraries/Systems/open62541

#1.2 Build JSON
json_zip_file="json-3.12.0"
unzip Libraries/Systems/$json_zip_file.zip -d Libraries/Systems/  
mv Libraries/Systems/$json_zip_file Libraries/Systems/json
mkdir -p Libraries/Systems/json/build
cd Libraries/Systems/json/build
cmake ..
make
sudo make install
cd ../../../..
rm -fr Libraries/Systems/json

#1.2 Build Yaml-cpp
yaml_cpp_zip_file="yaml-cpp-yaml-cpp-0.6.0"
unzip Libraries/Systems/$yaml_cpp_zip_file.zip -d Libraries/Systems/  
mv Libraries/Systems/$yaml_cpp_zip_file Libraries/Systems/yaml-cpp
mkdir -p Libraries/Systems/yaml-cpp/build
cd Libraries/Systems/yaml-cpp/build
cmake ..
make
sudo make install
cd ../../../..
rm -fr Libraries/Systems/yaml-cpp