Update prerequisite instructions to work across distributions#90
Update prerequisite instructions to work across distributions#90carlwgeorge wants to merge 1 commit intoredhat-developer:masterfrom
Conversation
|
I am not sure about the |
|
|
||
| [source,bash] | ||
| ---- | ||
| $ dnf install gcc rpm-build rpm-devel rpmlint make python3 bash coreutils diffutils patch rpmdevtools |
There was a problem hiding this comment.
you are using python3 on rhel8 and python on rhel9. It should be the other way round, isn't it? The same in the other part bellow.
There was a problem hiding this comment.
dnf install python works on rhel9, because python-unversioned-command provides python. I can adjust this to the actual package name if you like, it just makes the command longer for no real benefit. Since the current instructions do not work on rhel8, I was trying to change as little as possible from the previous instructions but still get things working. Longer term I'd like to send another pull request to switch the guide over to python3, which would simplify the instructions.
There was a problem hiding this comment.
Updated to use python3 on both rhel8 and rhel9.
python-unversioned-command doesn't exist on RHEL 8. |
Specifically `dnf install python` doesn't work on EL8. This changes the package name to python3 and shows the command to set up the necessary alternative symlink for the python command to work later in the guide.
Specifically
dnf install pythondoesn't work on EL8. This changes the package name to python3 and shows the command to set up the necessary alternative symlink for the python command to work later in the guide.