On Thu, Mar 18, 2021 at 11:13:49AM -0600, home user wrote:
(f32, preparing to upgrade to f33; Gnome)
A long time ago, almost certainly using dnf or yum, I installed "Eclipse"
and something that starts with "Eclipse C/C++".
When I try to remove Eclipse, I get:
------
-bash.2[~]: dnf remove Eclipse
No match for argument: Eclipse
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
-bash.3[~]:
-----
When I try "properties" to get the full name of what starts with "Eclipse
C/C++", I get "Sorry! There are no details for that appliation.".
How do I remove these applications that I never use?
How do you know that you even have Eclipse installed? If there is an
executable, say, '/usr/bin/eclipse', then running
'rpm -qf /usr/bin/eclipse' will tell you the name of the package that
owns that RPM. You can then use that with the 'dnf remove ...'.
Or if you want to bypass the middleman, you can run
'dnf remove /usr/bin/eclipse' and it will figure out what package owns
'/usr/bin/eclipse' and remove it, and any packages that depend on it.
The dnf command will also tell you if the executable isn't owned by an
RPM, in that case, you need to figure out how it was installed.
If you don't know the name of the executable, but see menu items for
it, then most likely there is a Desktop file in
/usr/share/applications/, so run
'grep -rl -i eclipse /usr/share/applications'. You can also use dnf to
remove packages using those file paths.
Now it is also possible you used Flatpak to install Eclipse, so run:
'flatpak list|grep -i eclipse' to see if it is one of the flatpaks you
have installed. Flatpak has a remove function too, so you'd run:
'flatpak remove org.eclipse.Java'. (Assuming that's the flatpak you
have installed)
If it is a snap, someone else can tell you, I avoid those like the
plague.
--
Jonathan Billings <billings(a)negate.org>