Skip to content
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

Fix setup script for RedHat based Linux #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

biinari
Copy link
Member

@biinari biinari commented Apr 3, 2020

bin/setup seems to have a partial implementation for RedHat based Linux distributions (i.e. those using RPM packages).

This completes what is there and as a side note drops the seemingly unused heroku requirement.

  • Use rpm=... packages with yum
  • Check for yum as a package manager
  • Drop requirement on heroku

Please note: I am not using a RedHat based Linux at the moment but have tested this out in a docker image for fedora:31 using rbenv to build ruby 2.6.5.

Yum seems to be currently available in notable RPM distros:

  • Fedora 22+ has adopted dnf in favour of yum but yum still seems to be available there.
  • RHEL and CentOS 6 to 8 use yum

Use rpm= packages passed to install with yum.

Recognise yum in check-for-build-tools
Unused anywhere in this repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant