taos-tools are some useful tool collections for TDengine.
sudo apt install libjansson-dev libsnappy-dev liblzma-dev libz-dev pkg-config
sudo yum install xz-devel snappy-devel jansson-devel pkgconfig libatomic
Note: Since snappy lacks pkg-config support (refer to link), it lead a cmake prompt libsnappy not found. But snappy will works well.
Please download TDengine client package from taosdata.com or compile TDengine source from github and install to your system.
git clone https://github.com/taosdata/taos-tools
cd taos-tools
git submodule update --init
mkdir build
cd build
cmake ..
make
sudo make install