IBM-ICP4D / cloud-pak-ocp-4

OpenShift 4.x deployment for Cloud Paks
20 stars 24 forks source link

Setting Python Alternatives - bastion #13

Open egrol opened 3 years ago

egrol commented 3 years ago

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