-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this work only on Debian? #13
Comments
The program itself should be distro independent as long as you install the appropriate dependencies. If you find there are changes needed, please submit a merge request, making sure it still runs on Ubuntu. |
I have this installed on Amazon Linux, which is similar to CentOS. I went through every item in the "Depends:" line here: https://github.com/alestic/ec2-expire-snapshots/blob/master/debian/control and found the package via yum list. For example, to find the yum equivalent of libfile-slurp-perl, you can run something like this: I used the following command to install dependencies for ec2-consistent-snapshot a year ago:
|
dansmith65: Nice, thanks! Would you like to create and maintain the rpm? :-) |
It would be great to have an rpm for this and related projects; but I don't think I'm up to the task. I have never done it before, but just read about it here: http://fedoraproject.org/wiki/How_to_create_an_RPM_package. It seems a little too involved for me. |
Hi. i had to install perl-DateTime-Format-ISO8601 perl-DateTime perl-Date-Manip |
Here is how I got it working on CentOS 7 sudo yum install -y wget git perl perl-CPAN
# Grab everything that's available from EPEL 7
# see packages here: https://dl.fedoraproject.org/pub/epel/7/x86_64/repoview/letter_p.group.html
sudo yum install --enablerepo=epel -y perl-Date-Manip perl-DateTime perl-DateTime-TimeZone perl-DateTime-Format-ISO8601
sudo yum install --enablerepo=epel -y perl-File-Slurp perl-Net-SSLeay perl-IO-Socket-SSL perl-Time-HiRes perl-Params-Validate ca-certificates perl-Net-Amazon-EC2
# Net::Amazon::EC2 is the only one not available on EPEL 7, so we grab it from CPAN
# needs: Net::Amazon::EC2 -> XML::Simple -> XML::Parser -> XML::SAX::Expat -> expat-devel
sudo yum install -y expat-devel
sudo cpan App::cpanminus # a better package manager for CPAN
sudo /usr/local/bin/cpanm Net::Amazon::EC2 Finally try
|
Added wiki page: Also PR to mention installing on other distros in the README |
I'd like to use this on a work project but all of the work boxes run CentOS, would this work on CentOS or would I have to tweak the code for it to play nice with CentOS? This repo looks to be built specifically for a Debian environment unless I'm mistaken.
The text was updated successfully, but these errors were encountered: