cat /etc/redhat-release
sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
yum repolist
yum install duplicity
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?
@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
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
Besides the already-mentioned package python-lockfile
I also had to install the package python2-paramiko
and its dependencies on CentOS 7.
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.
yum install epel-release
won't do on CentOS6 or 7?
Strangely enough, I also had to add python-setuptools
now that I wanted to install duplicity 0.7.12
To get this to install on CentOS 8 x64, I had to do the following.
sudo dnf --enablerepo=PowerTools install python3-httplib2
sudo yum install epel-release
sudo yum install python3-PyDrive
sudo yum install duplicity
yum install http://mirrors.kernel.org/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm