Created
January 13, 2017 12:05
-
-
Save msevilla00/86ccc9310cc07b57dbae95021b080dff to your computer and use it in GitHub Desktop.
script to install riot.im
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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