#!/usr/bin/env bash sudo sh -c "echo 'deb https://riot.im/packages/debian/ artful main' > /etc/apt/sources.list-available/matrix-riot-im.list" sudo ln -s /etc/apt/sources.list-available/matrix-riot-im.list /etc/apt/sources.list.d/matrix-riot-im.list # Add the public key: curl -L https://riot.im/packages/debian/repo-key.asc | sudo apt-key add - sudo apt-get update && apt-get -y install riot-web