Skip to content

Instantly share code, notes, and snippets.

@johnantoni
Last active April 27, 2020 15:44
Show Gist options
  • Save johnantoni/8275617 to your computer and use it in GitHub Desktop.
Save johnantoni/8275617 to your computer and use it in GitHub Desktop.
install duplicity on centos 64bit

check os

cat /etc/redhat-release

install repo

sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
yum repolist

install duplicity

yum install duplicity
@onnozweers
Copy link

Thanks @chrissam! Version 0.7 fixed some weird problems for me. RHEL/Centos win the prize for distributing the most ancient packages.

I had to install these for dependencies:

yum install gcc python-devel librsync-devel python-lockfile

@yahesh
Copy link

yahesh commented Sep 5, 2016

Besides the already-mentioned package python-lockfile I also had to install the package python2-paramiko and its dependencies on CentOS 7.

@onnozweers
Copy link

onnozweers commented Nov 14, 2016

I wrote a script to automate installation of the latest Duplicity on Centos/RHEL 7.
https://github.com/onnozweers/scripts/blob/master/install-duplicity

Suggestions and pull requests welcome.

@robertoschwald
Copy link

yum install epel-release won't do on CentOS6 or 7?

@yahesh
Copy link

yahesh commented Apr 24, 2017

Strangely enough, I also had to add python-setuptools now that I wanted to install duplicity 0.7.12

@danieleagle
Copy link

danieleagle commented Apr 24, 2020

To get this to install on CentOS 8 x64, I had to do the following.

  1. sudo dnf --enablerepo=PowerTools install python3-httplib2
  2. sudo yum install epel-release
  3. sudo yum install python3-PyDrive
  4. sudo yum install duplicity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment