Tested on Ubuntu 18.04 LTS
sudo apt-get install xboard polyglot stockfish xboard -fUCI -fcp stockfish -sUCI -scp stockfish
sudo port install xboard