concept Ubuntu in category apache thrift

appears as: Ubuntu
Programmer's Guide to Apache Thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.

On Ubuntu 14.04, 16.04, and 18.04 LTS, you can install the Apache Thrift compiler with apt-get. The following command line session displays all the Thrift-related packages available from the native Ubuntu 14.04 repositories (you may need to run these commands as root by prefixing them with “sudo”):

To set up Boost, first update the package indexes and install a couple of tools, wget to download the Boost archive and the GNU C++ compiler (G++) to build the Boost libraries 1. Next we download 2 and extract 3 the Boost archive. Finally, we build and install Boost 4 using the b2 Boost build tool. The boost libraries are installed in /usr/local/lib and the headers (.hpp) are installed in the /usr/local/include/boost directory on Ubuntu 14.04 and 16.04. An approach similar to this will work on most systems, including Windows. See the Boost website for more information.

If you prefer to install from packages, as of the time of this writing, you can install Boost 1.55 from packages on Ubuntu 14.04:

thrift@ubuntu:~$ sudo apt-get install libboost1.55-all-dev

On Ubuntu 16.04 you can install 1.58 from packages:

On Ubuntu 14.04 and 16.04 you can install the “qt-sdk” package to enable Qt 4 and 5 support. On Centos 7 you can install the “qt-devel” package to enable Qt 4 support.