Using Eclipse installer I erroneously installed it on /root directory (default path) using sudo to run eclipse-inst:
As shown here:
Not even a .desktop file was created. After learning about /root and how to install Eclipse I decided I want to uninstall it to do it properly. But if I shouldn't change /root permission, how can I safely remove eclipse?
Using
sudo apt-get autoremove eclipse
returns
Package 'eclipse' is not installed, so not removed
sudo apt-get remove|purge..is for removing packages installed with thedpkg|aptinstall procedure(s); so it can't reverse a procedure it didn't do. Look at your 'eclipse' installer & follow it's uninstall recommendations. – guiverc Sep 11 '18 at 00:52cpis arm, likewise the reverse of alnis also arm.. etc – guiverc Sep 11 '18 at 21:25historyshowing what I did (mine also records date & time of commands which isn't the default..) so I'd look back inhistoryto see where Iwgetthe file from, so I could re-run thewget(download), let alone commands used to install something.apt&dpkgcommands are logged in /var/log/apt/, but you didn't use those tools, so use whatever method you have to audit/record/documentation your work.. You should know, esp. if you want to become a dev/sysadmin/... – guiverc Sep 12 '18 at 00:51