How could I deploy c++ api on linux?

Please see C++ api header files are not generated to one directory?
Unfortunately, today it is more difficult than necessary and we will look into simplifying the installation.