add build examples for FreeBSD and Raspbian. use sudo in examples.