Skip to content

Instantly share code, notes, and snippets.

@msevilla00
Created January 13, 2017 12:05
Show Gist options
  • Save msevilla00/86ccc9310cc07b57dbae95021b080dff to your computer and use it in GitHub Desktop.
Save msevilla00/86ccc9310cc07b57dbae95021b080dff to your computer and use it in GitHub Desktop.
script to install riot.im
#!/bin/bash
# Script to install riot.im to debian/ubuntu
# following info of there: https://riot.im/desktop.html
# add riot.im repository to /etc/apt/sources.list.d/riot_im.list
sudo sh -c 'echo "# Riot.im
deb http://riot.im/packages/debian/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/riot_im.list'
# add public key to system
wget -q https://riot.im/packages/debian/repo-key.asc -O- | sudo apt-key add -
# update
sudo apt-get update
# install riot
sudo apt-get install -y riot-web
# that's it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment