I found many tutorials to install and configure python-broadlink, but all of them are for python 2, and the script has been ported to python3, so I decided to write this little howto.
Tested on a freshly installed Debian Buster container.
Run all commands with root privileges:
apt update