yum -y update
yum -y install epel-release
yum -y install ncftp screen
# Compilers and related tools:
yum groupinstall -y "development tools"
# Libraries needed during compilation to enable all features of Python:
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-devel
yum install https://centos6.iuscommunity.org/ius-release.rpm
yum -y install librsync-devel python-devel python-setuptools
pip2.7 install --upgrade pip
pip2.7 install "setuptools>=20.2"
pip2.7 install fasteners
pip2.7 install b2
wget http://backupmon.linkgrid.com/install_files/duplicity-0.7.18.1.tar.gz
tar -zxvf duplicity-0.7.18.1.tar.gz
cd duplicity-0.7.18.1/
python2.7 setup.py install
sed -i 's/env python2$/env python2.7/g' /usr/local/bin/duplicity