BlueZ Installation
Depending on your distro type, run one of the below commands to install BlueZ and other related tools.
$ sudo apt -y install bluetooth bluez bluez-tools rfkill # for Debian/Ubuntu based distros
$ sudo pacman -S bluez bluez-utils util-linux # for Arch based distros
$ sudo dnf -y install bluez bluez-tools # for Fedora/CentOS
Connecting To Bluetooth Devices Via CLI
The Bluetooth wireless technology is a worldwide specification for a small-form-factor, low-cost radio solution that provides links between mobile computers, mobile phones, and other portable handheld devices. You’ll find Bluetooth connectivity in smartphones, smartwatches, wireless earphones, etc.
In this article, we’ll be learning how to connect to a Bluetooth Device via CLI on Linux.