cloud-pak-ocp-4 icon indicating copy to clipboard operation
cloud-pak-ocp-4 copied to clipboard

Setting Python Alternatives - bastion

Open egrol opened this issue 3 years ago • 0 comments

Hi Team,

As part of your instructions when subscribing to the relevant repositories you also have the yum command to install the relevant packages. What would be nice is if you put in some extra disclaimers to point to the alternative version of your python libraries. For example if I have a RHEL 7.7 bastion node I will run such commands:

$ ls /usr/bin/python* /usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.4 /usr/bin/python3.4m /usr/bin/python3m

$ python --version Python 2.7.8

$ update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 $ update-alternatives --install /usr/bin/python python /usr/bin/python3 2

$ python --version

For interactive selection run: $ update-alternatives --config python

Regards,

Erol G

egrol avatar Mar 25 '21 04:03 egrol