Install Boost

Installing Boost is not hard. On OpenBSD:

  1. $ pkg_add boost

While on Arch Linux:

  1. $ sudo pacman -S boost

The thing is when compiling program, please link related Boost libraries. E.g., on OpenBSD:

  1. $ c++ -L/usr/local/lib client.cpp -o client -lboost_system

On Arch Linux, -pthread option is needed:

  1. $ c++ -pthread client.cpp -o client -lboost_system