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

@jespernohr jespernohr 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

@chrissam chrissam 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

@onnozweers onnozweers 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

@yahesh 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

This comment has been minimized.

Copy link

@onnozweers 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

This comment has been minimized.

Copy link

@robertoschwald robertoschwald commented Apr 11, 2017

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

@yahesh

This comment has been minimized.

Copy link

@yahesh yahesh commented Apr 24, 2017

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

@GetchaDEAGLE

This comment has been minimized.

Copy link

@GetchaDEAGLE GetchaDEAGLE 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