Python Forum
How to install the latest version of Python on RHEL 8?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install the latest version of Python on RHEL 8?
#8
(Feb-10-2020, 10:45 PM)devlocalca Wrote: I don't want the source code, I want to install python 3.8.1 executables for my platform (RHEL 8).
I suggests pyenv as @stranac do.
My tutorial pyenv Simple Python Version Management
Look at wiki for build tools to RHEL,it will be under CentOS/Fedora 21 and below:
A couple of site that have RHEL setup pyenv blog1, blog2

(Feb-10-2020, 10:45 PM)devlocalca Wrote: Why does IBM / Redhat hate Python?
I don't think this is true at all.
(Feb-10-2020, 10:45 PM)devlocalca Wrote: Does everyone everywhere use only Windows when using Python? Am I the only person trying to run Python on Linux?
No most use Linux here and in general the whole Python community has for a long time been aim mostly at Linux.
I use both.

Example install Python 3.8.1 on Mint 19.
This will be the same for all linux distros,after install and setup of pyenv.
# Look at available versions 
tom@tom:~$ pyenv install --list
.....
  3.7.5
  3.7.5rc1
  3.7.6
  3.8.0
  3.8-dev
  3.8.1
  3.9-dev

# Install
tom@tom:~$ pyenv install 3.8.1
Downloading Python-3.8.1.tar.xz...
-> https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz
Installing Python-3.8.1...
Installed Python-3.8.1 to /home/tom/.pyenv/versions/3.8.1

# Set as system wide version
tom@tom:~$ pyenv global 3.8.1

# Test
tom@tom:~$ python
Python 3.8.1 (default, Feb 11 2020, 09:18:58) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print(walrus := True)
True
>>> exit()

tom@tom:~$ pip -V
pip 19.2.3 from /home/tom/.pyenv/versions/3.8.1/lib/python3.8/site-packages/pip (python 3.8)
Reply


Messages In This Thread
RE: How to install the latest version of Python on RHEL 8? - by snippsat - Feb-11-2020, 08:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Query on choosing Python 3.8.6 version sureshnagarajan 0 1,810 Feb-16-2021, 05:30 AM
Last Post: sureshnagarajan
  Which Python Version? muzikman 15 5,199 Jan-19-2021, 02:16 PM
Last Post: muzikman
  Python/winrt support for python 3.8 version pbvinoth 2 3,708 Jul-08-2020, 02:03 PM
Last Post: snippsat
  Issue with 2 version of python (2.6.6 and 2.7) with pip himupant94 2 3,238 Apr-24-2020, 03:23 AM
Last Post: himupant94
  Any command to upgrade Python version 2.X to latest KarthiK 7 4,146 Feb-15-2020, 07:25 PM
Last Post: DeaD_EyE
  my latest function Skaperen 2 1,985 Jun-08-2019, 08:23 AM
Last Post: Skaperen
  install stable version now zowhair 1 1,990 May-05-2019, 06:13 AM
Last Post: snippsat
  Default python version on Windows (3.6.x vs 3.6.y) gramakri 1 2,463 May-04-2019, 10:36 PM
Last Post: snippsat
  Old Python-version used by IDLE GeNoS 7 4,241 Apr-13-2019, 08:04 PM
Last Post: Gribouillis
  Trouble installing a old version of python - 3.4.1 alex8obrien 2 2,796 Apr-09-2019, 06:28 AM
Last Post: alex8obrien

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020