(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?
Thank-you in advance. Bill.
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.
On 3/18/21 10:13 AM, home user wrote:
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
Package names are case-sensitive.
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?
"rpm -qa | grep eclipse" should show you most of them. Run "dnf group remove eclipse" first to remove the group and most of the packages. You might need to run "dnf remove '*eclipse*' " after to remove some more. I seem to have a bunch of eclipse packages that aren't part of the group.
On 3/18/21 12:26 PM, Jonathan Billings wrote:
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++". [... snip ...] 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 ...'.
That worked:
-bash.1[~]: ls /usr/bin/ec* /usr/bin/echo /usr/bin/echoscu /usr/bin/eclipse -bash.2[~]: rpm -qf /usr/bin/eclipse eclipse-platform-4.16-13.fc32.x86_64 -bash.3[~]: dnf remove eclipse-platform-4.16-13.fc32.x86_64 Dependencies resolved. [... snip ...] xsom-20140514-3.fc32.noarch
Complete! -bash.4[~]:
Both applications now no longer have icons when in Gnome, I click "Activities".
[... snip ...]
Since the first part of your post fully worked, I did not try the rest. But the rest is good to know.
Thank-you for your help Jonathan. I've marked this thread "SOLVED".
Bill.
On 3/18/21 12:26 PM, Samuel Sieb wrote:
On 3/18/21 10:13 AM, home user wrote:
A long time ago, almost certainly using dnf or yum, I installed "Eclipse" and something that starts with "Eclipse C/C++". [... snip ...] How do I remove these applications that I never use?
"rpm -qa | grep eclipse" should show you most of them. Run "dnf group remove eclipse" first to remove the group and most of the packages. You might need to run "dnf remove '*eclipse*' " after to remove some more. I seem to have a bunch of eclipse packages that aren't part of the group.
Since Jonathan's solution worked, I did not get to try your suggestions. But they look like good things to keep in mind in the future.
Oh, wait...
-bash.4[~]: dnf remove '*eclipse*' Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: eclipse-ecf-core noarch 3.14.8-4.fc32 @updates 861 k eclipse-emf-core noarch 1:2.22.0-2.fc32 @updates 2.0 M eclipse-equinox-osgi x86_64 1:4.16-13.fc32 @updates 3.5 M eclipse-swt x86_64 1:4.16-13.fc32 @updates 7.3 M eclipselink-persistence-api noarch 2.1.0-9.fc31 @fedora 192 k
Transaction Summary ================================================================================ Remove 5 Packages
Freed space: 14 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : eclipselink-persistence-api-2.1.0-9.fc31.noarch 1/5 Erasing : eclipse-equinox-osgi-1:4.16-13.fc32.x86_64 2/5 Erasing : eclipse-emf-core-1:2.22.0-2.fc32.noarch 3/5 Erasing : eclipse-ecf-core-3.14.8-4.fc32.noarch 4/5 Erasing : eclipse-swt-1:4.16-13.fc32.x86_64 5/5 Running scriptlet: eclipse-swt-1:4.16-13.fc32.x86_64 5/5 Verifying : eclipse-ecf-core-3.14.8-4.fc32.noarch 1/5 Verifying : eclipse-emf-core-1:2.22.0-2.fc32.noarch 2/5 Verifying : eclipse-equinox-osgi-1:4.16-13.fc32.x86_64 3/5 Verifying : eclipse-swt-1:4.16-13.fc32.x86_64 4/5 Verifying : eclipselink-persistence-api-2.1.0-9.fc31.noarch 5/5
Removed: eclipse-ecf-core-3.14.8-4.fc32.noarch
eclipse-emf-core-1:2.22.0-2.fc32.noarch
eclipse-equinox-osgi-1:4.16-13.fc32.x86_64
eclipse-swt-1:4.16-13.fc32.x86_64
eclipselink-persistence-api-2.1.0-9.fc31.noarch
Complete! -bash.5[~]:
I almost missed those! Thank-you, Samuel.
Bill.
On 3/18/21 11:56 AM, home user wrote:
On 3/18/21 12:26 PM, Samuel Sieb wrote:
On 3/18/21 10:13 AM, home user wrote:
A long time ago, almost certainly using dnf or yum, I installed "Eclipse" and something that starts with "Eclipse C/C++". [... snip ...] How do I remove these applications that I never use?
"rpm -qa | grep eclipse" should show you most of them. Run "dnf group remove eclipse" first to remove the group and most of the packages. You might need to run "dnf remove '*eclipse*' " after to remove some more. I seem to have a bunch of eclipse packages that aren't part of the group.
Since Jonathan's solution worked, I did not get to try your suggestions. But they look like good things to keep in mind in the future.
You might still want to try removing the group to avoid any surprises in the future.
On 3/18/21 1:24 PM, Samuel Sieb wrote:
On 3/18/21 11:56 AM, home user wrote:
On 3/18/21 12:26 PM, Samuel Sieb wrote:
On 3/18/21 10:13 AM, home user wrote:
A long time ago, almost certainly using dnf or yum, I installed "Eclipse" and something that starts with "Eclipse C/C++". [... snip ...] How do I remove these applications that I never use?
"rpm -qa | grep eclipse" should show you most of them. Run "dnf group remove eclipse" first to remove the group and most of the packages. You might need to run "dnf remove '*eclipse*' " after to remove some more. I seem to have a bunch of eclipse packages that aren't part of the group.
Since Jonathan's solution worked, I did not get to try your suggestions. But they look like good things to keep in mind in the future.
You might still want to try removing the group to avoid any surprises in the future.
-bash.1[~]: dnf group remove eclipse Warning: Module or Group 'eclipse' is not installed. Dependencies resolved. Nothing to do. Complete! -bash.2[~]:
Bill.