Bluetooth Sound on Linux

Bluetooth speakers can easily be used with the Raspberry Pi and other Linux single-board embedded computers to wirelessly play sound. After connecting to Bluetooth device from Linux terminal, setup BlueZ like:

apt install bluez

Then setup Alsa or Pulseaudio to use the Bluetooth audio device, whether by GUI or command line.