Skip to content

Instantly share code, notes, and snippets.

@ScalaWilliam
Last active August 29, 2015 14:12
Show Gist options
  • Save ScalaWilliam/0cafa2078462aa63ff99 to your computer and use it in GitHub Desktop.
Save ScalaWilliam/0cafa2078462aa63ff99 to your computer and use it in GitHub Desktop.
Installing Attic on CentOS 7 / RHEL 7 (also installing Python 3 on CentOS 7 / RHEL 7)

Attic is the holy grail of backups:

RHEL/CentOS don't have native Python 3 packages. Attic requires Python 3.2+.

We'll install Python 3 using IUS repositories here: https://iuscommunity.org/pages/About.html

Always better to use managed than unmanaged installations, which are hard to manage later on.

yum -y install http://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release-1.0-13.ius.centos7.noarch.rpm
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/ius.repo
yum --enablerepo=ius install python34u
curl https://attic-backup.org/downloads/releases/0.14/Attic-0.14-linux-x86_64.tar.gz | tar -C /usr/local/share/ -zxf -
ln -s /usr/local/share/Attic-0.14-linux-x86_64/attic /usr/local/bin/attic
attic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment