Hide Forgot
Description of problem: Installing rh-eclipse46-base does not add eclipse to the user's path Version-Release number of selected component (if applicable): rh-eclipse46-base-1-11.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install rh-eclipse46-base-1-11.el7.x86_64 on RHEL7.2 2. 3. Actual results: Installation is successful, eclipse binary /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/ is not added to user's path. Expected results: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/ added to path. Additional info:
Hi Len, It seems to me you skipped the scl mechanism. rh-eclipse46 is part of Software Collections which use the mechanism to allow users pick only specific collections for a specific task. rh-eclipse46-base works for me as expected: $ rpm -qa | grep rh-eclipse46 # nothing of rh-eclipse46 installed $ sudo yum -y install rh-eclipse46-base ... # Installed. # Eclipse not available in a not-scl-ized environment $ type eclipse -bash: type: eclipse: not found # Create a scl-ized shell: $ scl enable rh-eclipse46 bash $ echo $PATH /opt/rh/rh-eclipse46/root/usr/bin:/opt/rh/rh-eclipse46/root/usr/lib/jvm/java/bin:/opt/rh/rh-java-common/root/usr/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/jouda/.local/bin:/home/jouda/bin $ type eclipse eclipse is /opt/rh/rh-eclipse46/root/usr/bin/eclipse $ exit # Back in the default environment. scl-ize just one command: $ scl enable rh-eclipse46 'type eclipse' eclipse is /opt/rh/rh-eclipse46/root/usr/bin/eclipse Does it work for you the same way? If yes then it is as designed and not a bug.
FWIW, how to start Eclipse from the command line is documented here: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2-Beta/html/2.3_Release_Notes/chap-Individual_Collections.html#sect-Eclipse-Use
Hmm, I just noticed how old this bug is... I think we can just close it NOTABUG. Feel free to re-open if anyone disagrees.