Last active
August 22, 2019 20:55
-
-
Save digizeph/1c2c64ed4f8b9d9b04354467737b0043 to your computer and use it in GitHub Desktop.
script to add caida ubuntu repositories
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
| #!/usr/bin/env bash | |
| CAIDA_REPO_URL=https://pkg.caida.org/os/ubuntu | |
| sudo apt-get update | |
| sudo apt-get install -y curl apt-transport-https ssl-cert ca-certificates gnupg lsb-release | |
| # wandio repo | |
| echo "deb https://dl.bintray.com/wand/general $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/wand.list | |
| curl --silent "https://bintray.com/user/downloadSubjectPublicKey?username=wand" | sudo apt-key add - | |
| # CAIDA repo | |
| echo "deb $CAIDA_REPO_URL $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/caida.list | |
| sudo wget -O /etc/apt/trusted.gpg.d/caida.gpg $CAIDA_REPO_URL/keyring.gpg | |
| sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment