Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » New Installer Use(How to use New Installer for System Wide Installation)
New Installer Use [message #1707933] Thu, 10 September 2015 15:52 Go to next message
Guido Lorio is currently offline Guido LorioFriend
Messages: 4
Registered: September 2015
Junior Member
I would like to use new installator to reach the following result:

1) to install eclipse into Linux (Ubuntu14.04) system folder already existing (i.e. /opt/) by admin user having root permissionon
2) to have eclipse installed in to system folder (i.e. /opt/) in order to allow
any normal user to run eclipse by his own account (and workspace) without providing you any root permisions.
This result was obtained by old method of installation using commands:

<oldIns>
cd /opt/
sudo tar -zxvf /path/where/is/eclipse-*.tar.gz
gksudo gedit /usr/share/applications/eclipse.desktop
</oldIns>

I tried to do it with the new installer but the installer says
does not have the permission to create / opt /
I think the solution should be to start installer by "gksu eclipse-int"
in order to allow to write into /opt/.
Correct?

I hope the installer also will create eclipse.desktop allowing normal user to find/get eclipse by ubuntu unity and run it.
I think the installer should provide the ability to do both personal and system wide installation.

ThanksInAdvanceForAll.
GuiDo
Re: New Installer Use [message #1708060 is a reply to message #1707933] Sat, 12 September 2015 03:23 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Hi Guido,

IIRC. Ed has applied the changes needed to support shared installs in

469279: Oomph Setup causes various Error Reports and makes "Help > About > Installation Details" fail, if the
Eclipse install is read-only owned by another user
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469279

The changes should be available in Mars.0. What installer version are you using?

I'm personally unexperienced with shared installs and I don't use Linux, but maybe Martin Oberhuber, who tested Ed's
changes, can add some comments about what you're trying to do...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 10.09.2015 um 20:22 schrieb Guido Lorio:
> I would like to use new installator to reach the following result:
>
> 1) to install eclipse into Linux (Ubuntu14.04) system folder already existing (i.e. /opt/) by admin user having root
> permissionon 2) to have eclipse installed in to system folder (i.e. /opt/) in order to allow
> any normal user to run eclipse by his own account (and workspace) without providing you any root permisions.
> This result was obtained by old method of installation using commands:
>
> <oldIns>
> cd /opt/
> sudo tar -zxvf /path/where/is/eclipse-*.tar.gz
> gksudo gedit /usr/share/applications/eclipse.desktop
> </oldIns>
>
> I tried to do it with the new installer but the installer says
> does not have the permission to create / opt / I think the solution should be to start installer by "gksu eclipse-int"
> in order to allow to write into /opt/.
> Correct?
>
> I hope the installer also will create eclipse.desktop allowing normal user to find/get eclipse by ubuntu unity and run
> it.
> I think the installer should provide the ability to do both personal and system wide installation.
>
> ThanksInAdvanceForAll.
> GuiDo
>


Re: New Installer Use [message #1708068 is a reply to message #1708060] Sat, 12 September 2015 06:55 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
After having talked to Ed, here's a correction to my former statement:

Ed only applied changes that were needed to make downloaded and unzipped packages work in shared installs.

He opened a bugzilla to track possible enhancements to the Oomph installer:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=469837

So, bottom line is: That does currently not work.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper




Am 12.09.2015 um 05:23 schrieb Eike Stepper:
> Hi Guido,
>
> IIRC. Ed has applied the changes needed to support shared installs in
>
> 469279: Oomph Setup causes various Error Reports and makes "Help > About > Installation Details" fail, if the
> Eclipse install is read-only owned by another user
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=469279
>
> The changes should be available in Mars.0. What installer version are you using?
>
> I'm personally unexperienced with shared installs and I don't use Linux, but maybe Martin Oberhuber, who tested Ed's
> changes, can add some comments about what you're trying to do...
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
> Am 10.09.2015 um 20:22 schrieb Guido Lorio:
>> I would like to use new installator to reach the following result:
>>
>> 1) to install eclipse into Linux (Ubuntu14.04) system folder already existing (i.e. /opt/) by admin user having root
>> permissionon 2) to have eclipse installed in to system folder (i.e. /opt/) in order to allow
>> any normal user to run eclipse by his own account (and workspace) without providing you any root permisions.
>> This result was obtained by old method of installation using commands:
>>
>> <oldIns>
>> cd /opt/
>> sudo tar -zxvf /path/where/is/eclipse-*.tar.gz
>> gksudo gedit /usr/share/applications/eclipse.desktop
>> </oldIns>
>>
>> I tried to do it with the new installer but the installer says
>> does not have the permission to create / opt / I think the solution should be to start installer by "gksu eclipse-int"
>> in order to allow to write into /opt/.
>> Correct?
>>
>> I hope the installer also will create eclipse.desktop allowing normal user to find/get eclipse by ubuntu unity and
>> run it.
>> I think the installer should provide the ability to do both personal and system wide installation.
>>
>> ThanksInAdvanceForAll.
>> GuiDo
>>
>


Re: New Installer Use [message #1708083 is a reply to message #1708068] Sat, 12 September 2015 11:25 Go to previous messageGo to next message
Guido Lorio is currently offline Guido LorioFriend
Messages: 4
Registered: September 2015
Junior Member
Hi Eike,

the installer I use is:
Installer version: 1.1.0 Build 1780 for Linux 64Bits

(a little note: opening installer "about" window, it is not possible to select/copy
installer version data row. You have to copy it by hand only).

If I understand well, now the system wide installation way could be only a future enhancement to the installer. Then for the moment, if I want to do that type of installation I have to do it using the old type method. Correct?

It could be helpfull a middle solution to have an Installer allowing system wide installation without using bundle pool.
What do you think about it ?

YouHaveAGood_WE

GuiDo
Re: New Installer Use [message #1708123 is a reply to message #1708083] Mon, 14 September 2015 05:42 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Am 12.09.2015 um 13:25 schrieb Guido Lorio:
> Hi Eike,
>
> the installer I use is:
> Installer version: 1.1.0 Build 1780 for Linux 64Bits
>
> (a little note: opening installer "about" window, it is not possible to select/copy
> installer version data row. You have to copy it by hand only).
Sounds like a good opportunity to contribute to Oomph ;-)

> If I understand well, now the system wide installation way could be only a future enhancement to the installer.
Yes.

> Then for the moment, if I want to do that type of installation I have to do it using the old type method. Correct?
Correct.

>
> It could be helpfull a middle solution to have an Installer allowing system wide installation without using bundle pool.
> What do you think about it ?
Hard to say, but in theory it could be simpler than with bundle pool support. I vaguely remember that we found code in
the Platform that makes it even impossible to use shared installs with bundle pools via the "old type method", but I
have no time to research that in detail now.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: New Installer Use [message #1708299 is a reply to message #1708123] Tue, 15 September 2015 09:18 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Here's Martin's reply, which reached me privately:

Hi,

The key point when using eclipse-installer for a shared multi-user install is, that you need to turn off the bundle pool.
In the installer UI, click the 3 bars ("options") and turn off Bundle Pools.

I've personally installed from a "su" commandline, so I don't know about gksudo and desktop icons.

But I'm not sure if it's the eclipse-installer's job dealing with these. Shouldn't eclipse be packaged by the distribution
provider for ideal desktop integration with a specific distribution ?

Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Owner – Development Tools, Wind River
direct +43.662.457915.85 fax +43.662.457915.6


Re: New Installer Use [message #1708308 is a reply to message #1708299] Tue, 15 September 2015 11:17 Go to previous messageGo to next message
Guido Lorio is currently offline Guido LorioFriend
Messages: 4
Registered: September 2015
Junior Member
Hi Martin
(via Eike?
I suggest to Martin to register to oomph forum in order to avoid
to Eike the routing function...)

My test bed is Linux Ubuntu 14.04.

The "gksu" is the "su" command to run application, with root privileges, having also
a GUI and then I think the way You suggest (disabling bundle pool) should allow
system wide installation.
However I would like to know if the new installer create also the/usr/share/applications/eclipse.desktop file that allow to any normal user
to get eclipse by searching "eclipse" string by Unity dash interface (the system
application available on right upper corner of desktop default window on Ubuntu 14.04).
Thanks in advance.
Bye
Guido
Re: New Installer Use [message #1708309 is a reply to message #1708308] Tue, 15 September 2015 11:23 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6693
Registered: July 2009
Senior Member
Am 15.09.2015 um 13:17 schrieb Guido Lorio:
> Hi Martin (via Eike?
> I suggest to Martin to register to oomph forum in order to avoid to Eike the routing function...)
>
> My test bed is Linux Ubuntu 14.04.
>
> The "gksu" is the "su" command to run application, with root privileges, having also
> a GUI and then I think the way You suggest (disabling bundle pool) should allow
> system wide installation.
> However I would like to know if the new installer create also the/usr/share/applications/eclipse.desktop file that
> allow to any normal user
> to get eclipse by searching "eclipse" string by Unity dash interface (the system
> application available on right upper corner of desktop default window on Ubuntu 14.04).
Unfortunately I'm not a linux expert and I neither know what a Unity dash interface is, nor what an eclipse.desktop file
does. Am I right that the meaning of this file depends on the window manager? To which ones would it apply and what
would it do there?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: New Installer Use [message #1708337 is a reply to message #1708309] Tue, 15 September 2015 15:31 Go to previous message
Guido Lorio is currently offline Guido LorioFriend
Messages: 4
Registered: September 2015
Junior Member
Hi Eike,

a good explanation of how *.desktop file works in Ubuntu, is contained in the following tutorial on "eclipse install on Linux ubuntu (usual method)" :

(see link contained in the attached file.)

for some reason the post form prevents me to insert in the answer that link, saying that
"You can only use links to sites eclipse.org while you have fewer than 5 messages."

and start to read the page from line:

"4. Create a launcher shortcut for Eclipse
......"

In short after creating of *.desktop file, using proper syntax, into /usr/share/applications/ system folder, any normal user
can find eclipse.exe shortcut using Unity Dash interface
of Ubuntu Unity GUI interface.

Best
Guido
Previous Topic:Platform specific tasks
Next Topic:Execution of Gradle task before import
Goto Forum:
  


Current Time: Fri Dec 27 03:23:43 GMT 2024

Powered by FUDForum. Page generated in 0.04305 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top