Added install section for almalinux #2976
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
Category
*Install bash script
Feature/Issue Description
Q: Please give a brief summary of your feature/fix
A: Added a section for alma linux installs
Q: Give a technical rundown of what you have changed (if applicable)
A: During install on Alma, i was getting assigned to redhat-release and installation was failing.
Added: first, almalinux-release is detected before redhat, we then check if alma is version 9, and if so install crb, otherwise we install powertools (and development tools to fix an issue with ruby dependencies later on during the install)
We read from the user if they want to install ruby, and automatically do a module reset and install if they want it.
additionally, we install the ruby-devel package.
Test Cases
Q: Describe your test cases, what you have covered and if there are any use cases that still need addressing.
A: I have tested this on fresh alma EL8 and EL9 minimal machines, both are now working as intended when ran from the install script.
Wiki Page
If you are adding a new feature that is not easily understood without context, please draft a section to be added to the Wiki below.
The user no longer needs to install ruby manually from alma 8/9 (dependant on the dnf module versions not changing)
##Additional info
This is my first contribution to open source, if there is anything I can do better, please do let me know.
Much appreciated.