How did I install Erlang to Debian 10?

rabbitmq.com/install-debian.html#apt-bintray-erlang

Step 1

wget -O - 'https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc' | sudo apt-key add -

github.com/rabbitmq/erlang-debian-package/tree/53ea1f78#signing-key
rabbitmq.com/install-debian.html#erlang-apt-repo-signing-key

Step 2

echo "deb https://dl.bintray.com/rabbitmq-erlang/debian buster erlang" | sudo tee -a /etc/apt/sources.list

github.com/rabbitmq/erlang-debian-package/tree/53ea1f78#source-list-file
rabbitmq.com/install-debian.html#erlang-source-list-file

Step 3

aptitude install \
	erlang-base \
	erlang-asn1 \
	erlang-crypto \
	erlang-eldap \
	erlang-ftp \
	erlang-inets \
	erlang-mnesia \
	erlang-os-mon \
	erlang-parsetools \
	erlang-public-key \
	erlang-runtime-tools \
	erlang-snmp erlang-ssl \
	erlang-syntax-tools \
	erlang-tftp \
	erlang-tools \
	erlang-xmerl

github.com/rabbitmq/erlang-debian-package/tree/53ea1f78#installing-packages
rabbitmq.com/install-debian.html#installing-erlang-package

Step 4

Create /etc/apt/preferences.d/erlang with the contents:

Package: erlang*
Pin: release o=Bintray
Pin-Priority: 1000

github.com/rabbitmq/erlang-debian-package/tree/53ea1f78#packagerepository-pinning-apt-preferences
rabbitmq.com/install-debian.html#apt-pinning

Step 5

aptitude update

github.com/rabbitmq/erlang-debian-package/tree/53ea1f78#packagerepository-pinning-apt-preferences

See also: