I hate to have those loose software pieces in ~/somesoftware/version etc.. so i wanted to install it to /opt directory running some installer. Eclipse java ide is the particular program in question. I extracted the archive in ~/Downloads and ran installer with sudo.
It works i think but something feels very wrong here, my guts tell me because it treats /root/ as home.
Also i unchecked all ‘add to start menu’ and ‘add to desktop’ because i thought its like windows add to favourites or sth and now i cant find it in all programs and it won’t run as a user from /opt? how do i uninstall this? Is deleting /opt/eclipse with rm -r enough? It doesnt have any uninstaller or anything i believe
Is deleting /opt/eclipse with rm -r enough?
Mind though that if there is an uninstaller in
/opt/eclipse/ you should prefer using that over using
rm. Those script are text files so you can examine what it does and it might also undo settings.
and it won't run as a user from /opt?
That depends. Generally there is 1 command in
/opt/ that triggers ownership where you can copy to a location in your PATH or create a simlink to.
For eclipse you should start it from your user and never with sudo or as root. Check, and if not set, as rwx on user and set to your user these 2 locations:
or change those inside Eclipse to point to your a directory in your home directory.
Correct answer by Rinzwind on December 10, 2020
2 Asked on January 17, 2021 by bob91
0 Asked on January 17, 2021 by tjinbc
0 Asked on January 17, 2021 by killah4ever
0 Asked on January 16, 2021 by edwin-long
0 Asked on January 16, 2021 by felipe-mesquita
0 Asked on January 16, 2021 by abu-b-kurian
0 Asked on January 16, 2021
1 Asked on January 16, 2021 by daniel-nolan
2 Asked on January 15, 2021 by tidelake
0 Asked on January 15, 2021 by marco-arosa
0 Asked on January 15, 2021 by user1119487
0 Asked on January 14, 2021 by espiya
Get help from others!