TylerBrock / saw

Fast, multi-purpose tool for AWS CloudWatch Logs
MIT License
1.4k stars 77 forks source link

Installation documentation for Amazon Linux #5

Open jmcdonald24 opened 6 years ago

jmcdonald24 commented 6 years ago

Would like to try this on Amazon Linux - installation instructions in the README are sparse.

Thanks! Jim

TylerBrock commented 6 years ago

Hey Jim,

So the instructions say to run the following command:

rpm -i <link_to_rpm_you_need_from_releases>

If you go to the GitHub Releases Page for Saw you can grab the link to the latest 64 bit Linux RPM by copying the link that looks like saw_<version>_linux_amd64.rpm. I need that particular one because:

So for the current version (v0.1.7) on Amazon Linux I'd use:

sudo rpm -i https://github.com/TylerBrock/saw/releases/download/v0.1.7/saw_0.1.7_linux_amd64.rpm

Now, to make this easier I could just put the link in the instructions but there is no way to easily just get the latest package for a given platform on GitHub releases. I suppose I could manually update the readme with the current link whenever it changes but I was trying to avoid extra work for a release.

Do you have any other ideas about how I could improve the process for users of Amazon Linux if it's not clear enough or easy enough yet?

I would happily accept any changes you would like to make to the documentation either by responding here or via Pull Request. Also please let me know if the install works for you. I’ve personally tested it on Amazon Linux 1 and 2 but I of course want to make sure it works in your case.

TylerBrock commented 6 years ago

@jmcdonald24 did this information help you? Any updates?