IoT Gateway
ThingsBoard Documentation
Cloud Professional Edition Community Edition Edge IoT Gateway License Server Trendz Analytics Mobile Application PE Mobile Application
Try it now Pricing
Installation > Installation from sources (Latest version)
Getting Started Documentation

IoT Gateway installation from sources.

Installation from sources

To install ThingsBoard Gateway from sources, you should follow steps below:

1. Install required libraries to the system with apt:

1
sudo apt install python3-dev python3-pip libglib2.0-dev git 

2. Download repository from Github:

1
git clone https://github.com/thingsboard/thingsboard-gateway.git

3. Move into downloaded directory:

1
cd thingsboard-gateway

4. Install python module with setup.py script:

1
python3 setup.py install

5. Create “logs” folder:

1
mkdir logs

6. Configure gateway to work with your instance of ThingsBoard platform, using this guide or just run to test result of installation such as in the next step.

7. Run gateway, to check installation result:

1
python3 ./thingsboard_gateway/tb_gateway.py