Eclipse has installed itself in root

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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:



  1. Went to this page and downloaded the 32-bit Linux installer, eclipse-inst-linux32.tar.gz.

  2. In that archive was a binary file. I opened a terminal and sudo ran the binary.

  3. A graphical installation program started and I installed Eclipse into the default location specified above.

  4. 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.









share|improve this question























  • 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















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:



  1. Went to this page and downloaded the 32-bit Linux installer, eclipse-inst-linux32.tar.gz.

  2. In that archive was a binary file. I opened a terminal and sudo ran the binary.

  3. A graphical installation program started and I installed Eclipse into the default location specified above.

  4. 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.









share|improve this question























  • 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













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:



  1. Went to this page and downloaded the 32-bit Linux installer, eclipse-inst-linux32.tar.gz.

  2. In that archive was a binary file. I opened a terminal and sudo ran the binary.

  3. A graphical installation program started and I installed Eclipse into the default location specified above.

  4. 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.









share|improve this question















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:



  1. Went to this page and downloaded the 32-bit Linux installer, eclipse-inst-linux32.tar.gz.

  2. In that archive was a binary file. I opened a terminal and sudo ran the binary.

  3. A graphical installation program started and I installed Eclipse into the default location specified above.

  4. 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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











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.






share|improve this answer




















  • Meanwhile, how can I uninstall Eclipse?
    – Jack M
    Mar 21 at 10:44

















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.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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






























    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.






    share|improve this answer




















    • Meanwhile, how can I uninstall Eclipse?
      – Jack M
      Mar 21 at 10:44














    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.






    share|improve this answer




















    • Meanwhile, how can I uninstall Eclipse?
      – Jack M
      Mar 21 at 10:44












    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.






    share|improve this answer












    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.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Mar 20 at 12:32









    danzel

    1,386512




    1,386512











    • 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




    Meanwhile, how can I uninstall Eclipse?
    – Jack M
    Mar 21 at 10:44












    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.






    share|improve this answer
























      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.






      share|improve this answer






















        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 20 at 12:42









        rtaft

        397111




        397111



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491