Centos – how to install python-elementtree on CentOS 6.5

centoscentos6yum

How to install python-elementtree on CentOS 6.5 using yum? I need it for s3cmd, but their documentation page doesn't explain it.

Best Answer

It's necessary to add EPEL repo first, as explained here:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpm

Then, just run

sudo yum install s3cmd

Works for me.