Eclipse has installed itself in root
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I installed Eclipse last night (from the manual installer downloaded from the website, not the Software Center), and this morning I try to launch it, and it doesn't show up when I type "Eclipse" into the search bar. I remember that when I installed it, I stuck it in the default installation directory of /root/eclipse/javascript-oxygen2
. I try going into that folder, but access is denied to /root
. Did I screw up? What should I do if I want to be able to run Eclipse?
My installation procedure:
- Went to this page and downloaded the 32-bit Linux installer,
eclipse-inst-linux32.tar.gz
. - In that archive was a binary file. I opened a terminal and
sudo
ran the binary. - A graphical installation program started and I installed Eclipse into the default location specified above.
- The installation program offered to launch Eclipse automatically, so I did so, used it for a few minutes, then closed the program and turned off the computer.
software-installation eclipse
add a comment |Â
up vote
0
down vote
favorite
I installed Eclipse last night (from the manual installer downloaded from the website, not the Software Center), and this morning I try to launch it, and it doesn't show up when I type "Eclipse" into the search bar. I remember that when I installed it, I stuck it in the default installation directory of /root/eclipse/javascript-oxygen2
. I try going into that folder, but access is denied to /root
. Did I screw up? What should I do if I want to be able to run Eclipse?
My installation procedure:
- Went to this page and downloaded the 32-bit Linux installer,
eclipse-inst-linux32.tar.gz
. - In that archive was a binary file. I opened a terminal and
sudo
ran the binary. - A graphical installation program started and I installed Eclipse into the default location specified above.
- The installation program offered to launch Eclipse automatically, so I did so, used it for a few minutes, then closed the program and turned off the computer.
software-installation eclipse
What exact steps did you use to install Eclipse ? Please update your question with the procedure followed, and the results of each step.
â Soren A
Mar 20 at 11:26
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed Eclipse last night (from the manual installer downloaded from the website, not the Software Center), and this morning I try to launch it, and it doesn't show up when I type "Eclipse" into the search bar. I remember that when I installed it, I stuck it in the default installation directory of /root/eclipse/javascript-oxygen2
. I try going into that folder, but access is denied to /root
. Did I screw up? What should I do if I want to be able to run Eclipse?
My installation procedure:
- Went to this page and downloaded the 32-bit Linux installer,
eclipse-inst-linux32.tar.gz
. - In that archive was a binary file. I opened a terminal and
sudo
ran the binary. - A graphical installation program started and I installed Eclipse into the default location specified above.
- The installation program offered to launch Eclipse automatically, so I did so, used it for a few minutes, then closed the program and turned off the computer.
software-installation eclipse
I installed Eclipse last night (from the manual installer downloaded from the website, not the Software Center), and this morning I try to launch it, and it doesn't show up when I type "Eclipse" into the search bar. I remember that when I installed it, I stuck it in the default installation directory of /root/eclipse/javascript-oxygen2
. I try going into that folder, but access is denied to /root
. Did I screw up? What should I do if I want to be able to run Eclipse?
My installation procedure:
- Went to this page and downloaded the 32-bit Linux installer,
eclipse-inst-linux32.tar.gz
. - In that archive was a binary file. I opened a terminal and
sudo
ran the binary. - A graphical installation program started and I installed Eclipse into the default location specified above.
- The installation program offered to launch Eclipse automatically, so I did so, used it for a few minutes, then closed the program and turned off the computer.
software-installation eclipse
software-installation eclipse
edited Mar 20 at 11:35
asked Mar 20 at 11:24
Jack M
1458
1458
What exact steps did you use to install Eclipse ? Please update your question with the procedure followed, and the results of each step.
â Soren A
Mar 20 at 11:26
add a comment |Â
What exact steps did you use to install Eclipse ? Please update your question with the procedure followed, and the results of each step.
â Soren A
Mar 20 at 11:26
What exact steps did you use to install Eclipse ? Please update your question with the procedure followed, and the results of each step.
â Soren A
Mar 20 at 11:26
What exact steps did you use to install Eclipse ? Please update your question with the procedure followed, and the results of each step.
â Soren A
Mar 20 at 11:26
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
Short answer
Run the installer binary without sudo. Either double-click it in the file manager or, in terminal, (inside the directory containing the binary) run:
./eclipse-inst
The installer should default to your user's home directory.
Long answer
When running the binary with sudo
, it is (loosely speaking) executed by the root user. The installer detects the current user's home directory, which in case of the root user is /root/ and defaults to install eclipse there. While you could change it to your own user's home directory, you probably won't be able to use eclipse because the files and folders created by the installer (running as root) will most likely only be accessible to the root user.
Please note that, although you can use the eclipse installed in /root/ folder by executing it as root user, you should not do so because of the obvious security risks when running applications with root permissions.
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
add a comment |Â
up vote
0
down vote
When you install the javascript-oxygen project, even if you install it outside the root directory, it seems to store some libraries in /root/.p2 that are needed to run eclipse. The installer appears to be designed to work for a single user, and even then it doesn't add the eclipse command to the path. I really don't see any advantage to using the installer over the getting standard tarball, extracting it where you want it, and symlinking the binary to /usr/bin or /usr/local/bin.
If you still want to install the latest eclipse into the system using an installer, take a look at ubuntu-make, there are eclipse specific instructions here.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Short answer
Run the installer binary without sudo. Either double-click it in the file manager or, in terminal, (inside the directory containing the binary) run:
./eclipse-inst
The installer should default to your user's home directory.
Long answer
When running the binary with sudo
, it is (loosely speaking) executed by the root user. The installer detects the current user's home directory, which in case of the root user is /root/ and defaults to install eclipse there. While you could change it to your own user's home directory, you probably won't be able to use eclipse because the files and folders created by the installer (running as root) will most likely only be accessible to the root user.
Please note that, although you can use the eclipse installed in /root/ folder by executing it as root user, you should not do so because of the obvious security risks when running applications with root permissions.
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
add a comment |Â
up vote
1
down vote
accepted
Short answer
Run the installer binary without sudo. Either double-click it in the file manager or, in terminal, (inside the directory containing the binary) run:
./eclipse-inst
The installer should default to your user's home directory.
Long answer
When running the binary with sudo
, it is (loosely speaking) executed by the root user. The installer detects the current user's home directory, which in case of the root user is /root/ and defaults to install eclipse there. While you could change it to your own user's home directory, you probably won't be able to use eclipse because the files and folders created by the installer (running as root) will most likely only be accessible to the root user.
Please note that, although you can use the eclipse installed in /root/ folder by executing it as root user, you should not do so because of the obvious security risks when running applications with root permissions.
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Short answer
Run the installer binary without sudo. Either double-click it in the file manager or, in terminal, (inside the directory containing the binary) run:
./eclipse-inst
The installer should default to your user's home directory.
Long answer
When running the binary with sudo
, it is (loosely speaking) executed by the root user. The installer detects the current user's home directory, which in case of the root user is /root/ and defaults to install eclipse there. While you could change it to your own user's home directory, you probably won't be able to use eclipse because the files and folders created by the installer (running as root) will most likely only be accessible to the root user.
Please note that, although you can use the eclipse installed in /root/ folder by executing it as root user, you should not do so because of the obvious security risks when running applications with root permissions.
Short answer
Run the installer binary without sudo. Either double-click it in the file manager or, in terminal, (inside the directory containing the binary) run:
./eclipse-inst
The installer should default to your user's home directory.
Long answer
When running the binary with sudo
, it is (loosely speaking) executed by the root user. The installer detects the current user's home directory, which in case of the root user is /root/ and defaults to install eclipse there. While you could change it to your own user's home directory, you probably won't be able to use eclipse because the files and folders created by the installer (running as root) will most likely only be accessible to the root user.
Please note that, although you can use the eclipse installed in /root/ folder by executing it as root user, you should not do so because of the obvious security risks when running applications with root permissions.
answered Mar 20 at 12:32
danzel
1,386512
1,386512
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
add a comment |Â
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
Meanwhile, how can I uninstall Eclipse?
â Jack M
Mar 21 at 10:44
add a comment |Â
up vote
0
down vote
When you install the javascript-oxygen project, even if you install it outside the root directory, it seems to store some libraries in /root/.p2 that are needed to run eclipse. The installer appears to be designed to work for a single user, and even then it doesn't add the eclipse command to the path. I really don't see any advantage to using the installer over the getting standard tarball, extracting it where you want it, and symlinking the binary to /usr/bin or /usr/local/bin.
If you still want to install the latest eclipse into the system using an installer, take a look at ubuntu-make, there are eclipse specific instructions here.
add a comment |Â
up vote
0
down vote
When you install the javascript-oxygen project, even if you install it outside the root directory, it seems to store some libraries in /root/.p2 that are needed to run eclipse. The installer appears to be designed to work for a single user, and even then it doesn't add the eclipse command to the path. I really don't see any advantage to using the installer over the getting standard tarball, extracting it where you want it, and symlinking the binary to /usr/bin or /usr/local/bin.
If you still want to install the latest eclipse into the system using an installer, take a look at ubuntu-make, there are eclipse specific instructions here.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
When you install the javascript-oxygen project, even if you install it outside the root directory, it seems to store some libraries in /root/.p2 that are needed to run eclipse. The installer appears to be designed to work for a single user, and even then it doesn't add the eclipse command to the path. I really don't see any advantage to using the installer over the getting standard tarball, extracting it where you want it, and symlinking the binary to /usr/bin or /usr/local/bin.
If you still want to install the latest eclipse into the system using an installer, take a look at ubuntu-make, there are eclipse specific instructions here.
When you install the javascript-oxygen project, even if you install it outside the root directory, it seems to store some libraries in /root/.p2 that are needed to run eclipse. The installer appears to be designed to work for a single user, and even then it doesn't add the eclipse command to the path. I really don't see any advantage to using the installer over the getting standard tarball, extracting it where you want it, and symlinking the binary to /usr/bin or /usr/local/bin.
If you still want to install the latest eclipse into the system using an installer, take a look at ubuntu-make, there are eclipse specific instructions here.
answered Mar 20 at 12:42
rtaft
397111
397111
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017595%2feclipse-has-installed-itself-in-root%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What exact steps did you use to install Eclipse ? Please update your question with the procedure followed, and the results of each step.
â Soren A
Mar 20 at 11:26