See bug 7294 for improving auto-detection of Python 2.7 on RHEL8. > # ./install-server > > Error: No Python 2.x interpreter found. > > A Python 2.x interpreter is required for ThinLinc. > I was trying to use the Python interpreter named 'python'. > > If Python is installed under a different name, set the PYTHON > environment variable to the Python binary to use. Example: > PYTHON=/usr/bin/python2.6 ./install-server > > To install Python, please run this command: > > dnf install python > > Would you like to run this command now? > > (Y/n)? y > > $ dnf install python > Failed to set locale, defaulting to C > Updating Subscription Management repositories. > Updating Subscription Management repositories. > Last metadata expiration check: 0:26:34 ago on Wed Dec 12 09:52:07 2018. > No match for argument: python > There are following alternatives for "python": python2, python36 > Error: Unable to find a match > > #
It should be safe to change to command line to: dnf install python2 * On RHEL7, dnf is not installed by default, but can be installed. But in any case, "python2" is an alias for "python". * On RHEL8, the package is called "python2". * On Fedora, the package is called "python2" since Fedora 29.
Works well now. Tested on RHEL 8 and SLES 15.