I use Fedora for most workstations, so I've only just noticed that CentOS and EPEL don't appear to have packages for eclipse. All of the Google search results I've seen that contain a process for installation merely document downloading the tarball from eclipse.org.
Is there a yum repo for these packages? Does CentOS not rebuild the Red Hat software collections?
On 08/08/2016 03:25 PM, Gordon Messmer wrote:
# yum install centos-release-scl # yum list devtoolset-4-eclipse*
Of course, the next question is: Is it possible to install Eclipse in a way that doesn't require users to run "scl enable devtoolset-4 bash" in a terminal? Or can selected software collections be enabled by default in new sessions?
On Tue, 9 Aug 2016 01:30, Gordon Messmer wrote:
On 08/08/2016 03:25 PM, Gordon Messmer wrote:
# yum install centos-release-scl # yum list devtoolset-4-eclipse*
Of course, the next question is: Is it possible to install Eclipse in a way that doesn't require users to run "scl enable devtoolset-4 bash" in a terminal? Or can selected software collections be enabled by default in new sessions?
Hint: put a scriplet into /etc/profile.d/ and it will be executed on login.
See already existing files for examples.
- Yamaban.
On 08/08/2016 04:57 PM, Yamaban wrote:
Hint: put a scriplet into /etc/profile.d/ and it will be executed on login.
If you haven't used "scl," and I hadn't before yesterday, it creates a new session with environment variables set up to access applications installed in a semi-isolated path. It can't be called from the bash profile as far as I can tell, and its execution isn't documented in its own man page. I could check its code to duplicate its functionality, but I was hoping for a simple answer from someone who uses it.
On Tue, Aug 09, 2016 at 10:12:31AM -0700, Gordon Messmer wrote:
If you haven't used "scl," and I hadn't before yesterday, it creates a new session with environment variables set up to access applications installed in a semi-isolated path. It can't be called from the bash profile as far as I can tell, and its execution isn't documented in its own man page. I could check its code to duplicate its functionality, but I was hoping for a simple answer from someone who uses it.
Its just a slightly more complex command line:
$ scl enable devtoolset-3 eclipse
... this will load the devtoolset-3 SCL and then execute 'eclipse'.
On 08/09/2016 11:44 AM, Jonathan Billings wrote:
Its just a slightly more complex command line: $ scl enable devtoolset-3 eclipse ... this will load the devtoolset-3 SCL and then execute 'eclipse'.
Yes, I know that. I was hoping to better understand how scl works, and whether or not new sessions could simply enable a collection by default.
On Mon, 8 Aug 2016 16:30:33 -0700 Gordon Messmer wrote:
Of course, the next question is: Is it possible to install Eclipse in a way that doesn't require users to run "scl enable devtoolset-4 bash" in a terminal?
Option 1: Write a little bash script that contains that command. Name it eclipse and put it into ~/bin.
Option 2: Write a little bash script that contains that command. Create a custom launcher with Mate, Kde, Gnome or what's your pleasure.
On Aug 8, 2016, at 20:03, Frank Cox theatre@melvilletheatre.com wrote:
Option 2: Write a little bash script that contains that command. Create a custom launcher with Mate, Kde, Gnome or what's your pleasure.
I believe the scl package that contains eclipse already includes a .desktop file that launches eclipse.
-- Jonathan Billings billings@negate.org