Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@non7top

This comment has been minimized.

@jespernohr

This comment has been minimized.

Copy link

commented Mar 6, 2016

Thank You, this is great. I am trying to install duplicity version 0.7 on my Centos 7, but I cannot install from http://http://mirrors.kernel.org/fedora-epel/7/x86_64/e/epel-release-7-5.noarch.rpm

any advice?

@chrissam

This comment has been minimized.

Copy link

commented Mar 15, 2016

@jespernohr: You can install the latest verion (0.7.06 as of now) as below,

cd /root
wget https://code.launchpad.net/duplicity/0.7-series/0.7.06/+download/duplicity-0.7.06.tar.gz
tar xzvf duplicity*
cd duplicity*
python setup.py install

You can set --prefix flag for the last command if you want to customize the location where it gets installed, For example
python setup.py install --prefix /usr/local

@onnozweers

This comment has been minimized.

Copy link

commented Apr 15, 2016

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Apr 11, 2017

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

@yahesh

This comment has been minimized.

Copy link

commented Apr 24, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.