install.sh 990 B

123456789101112131415161718192021
  1. # This asciinema will show you the installation of borg as a standalone binary. Usually you only need this if you want to have an up-to-date version of borg or no package is available for your distro/OS.
  2. # First, we need to download the version, we'd like to install…
  3. wget -q --show-progress https://github.com/borgbackup/borg/releases/download/1.1.0b6/borg-linux64
  4. # and do not forget the GPG signature…!
  5. wget -q --show-progress https://github.com/borgbackup/borg/releases/download/1.1.0b6/borg-linux64.asc
  6. # In this case, we have already imported the public key of a borg developer. So we only need to verify it:
  7. gpg --verify borg-linux64.asc
  8. # Okay, the binary is valid!
  9. # Now install it:
  10. sudo cp borg-linux64 /usr/local/bin/borg
  11. sudo chown root:root /usr/local/bin/borg
  12. # and make it executable…
  13. sudo chmod 755 /usr/local/bin/borg
  14. # Now check it: (possibly needs a terminal restart)
  15. borg -V
  16. # That's it! Check out the other screencasts to see how to actually use borgbackup.