Linux install for all users [message #1741672] |
Fri, 26 August 2016 23:07 |
Dan Schafer Messages: 1 Registered: August 2016 |
Junior Member |
|
|
Greetings,
I downloaded Eclipse 4.6 from eclipse.org "46275341 Aug 26 14:50 eclipse-inst-linux64.tar.gz".
My goal is to install Eclipse for all users on this CentOS 6.8 machine.
1) After unpacking with "tar -zxvf", there is no "eclipse" startup script in the top level of the resulting files.
An "eclipse_installer" directory is created.
Should I be able to run eclipse at this point ?
Is there a command-line installation method ?
2) I am able to run "./eclipse-inst" under my user account to start the oomph installer.
It prompts me by default to install into my $home directory. I install there successfully, and run eclipse successfully. The eclipse.ini file was successfully configured with my jvm...
-vm
/usr/java/jdk1.8.0_101/jre/bin
But I am trying to install eclipse into /opt so that all users can run it from a single installation.
3) If I launch the oomph installer with "sudo ./eclipse-inst", the installation is allowed into /opt. I attach the eclipse.ini file. I double-checked that the resources listed there in fact exist.
But when I run "/opt/eclipse/eclipse" as my normal user, I receive...
The Eclipse executable launcher was unable to locate its companion shared library.
I performed a search for this errmsg, and there are many results, but I did not find my scenario.
The permissions for the installation seem OK...
151 /opt => ls -ltr eclipse
total 240
-rwxr-xr-x 1 root root 140566 Jun 6 12:39 icon.xpm*
-rwxr-xr-x 1 root root 80393 Jun 6 12:39 eclipse*
drwxr-xr-x 2 root root 4096 Aug 26 15:06 readme/
drwxr-xr-x 2 root root 4096 Aug 26 15:06 dropins/
drwxr-xr-x 2 root root 4096 Aug 26 15:06 plugins/
-rw-r--r-- 1 root root 712 Aug 26 15:06 eclipse.ini
drwxr-xr-x 9 root root 4096 Aug 26 15:07 configuration/
Thank you in advance for any ideas, comments, or links.
-
Attachment: eclipse.ini
(Size: 0.70KB, Downloaded 229 times)
|
|
|
|
Re: Linux install for all users [message #1772136 is a reply to message #1741672] |
Tue, 05 September 2017 23:43 |
Patrick J Clemins Messages: 6 Registered: July 2009 |
Junior Member |
|
|
After playing around with this for the last couple hours, I've discovered that the best way to do this is to forego the installer, and just download the tar.gz directly, untar it, and place it in the directory you wish for it to reside. Give it root:root permissions. To install a plugin globally, run `sudo eclipse` and install the plugin. To install one for a single user, run eclipse as the user and install it. Eclipse seems to know when it's default bundle is read-only and configures a writable one at ~/.eclipse
So far, so good... fingers crossed!
[Updated on: Tue, 05 September 2017 23:44] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02545 seconds