How to uninstall an app in atomic fedora of unknown installation method?

Description

I use GNOME on Fedora atomic. There is an icon in overview of an installed app, nvtop. How can I figure out how I installed the app and how can I uninstall it?

  • The first step is to click “App details” in the overview section. GNOME software then tells me there are no details for the app. Searching for nvtop in Software doesn’t yield any result. GNOME Software is of no use here. I can confirm that it is not a flatpak with the name nvtop by running flatpak list | grep -i “nvtop”.
  • Lookup which command is invoked by nvtop

<span style="color:#323232;">$ which nvtop
</span><span style="color:#323232;">/usr/bin/nvtop
</span>
  • lookup the desktop entry

<span style="color:#323232;">$ sudo find /usr -iname "*nvtop*.desktop"
</span><span style="color:#323232;">/usr/share/applications/nvtop.desktop
</span>

which gets


<span style="color:#323232;">[Desktop Entry]
</span><span style="color:#323232;">Name=nvtop
</span><span style="color:#323232;">GenericName=GPU Process Monitor
</span><span style="color:#323232;">Type=Application
</span><span style="color:#323232;">Terminal=true
</span><span style="color:#323232;">Exec=nvtop
</span><span style="color:#323232;">Icon=nvtop
</span><span style="color:#323232;">Categories=System;Monitor;
</span><span style="color:#323232;">X-AppImage-Integrate=false
</span>

How many distroboxes are running? distrobox ls. The one distrobox that is running can’t find a package with the name nvtop either dnf list installed | grep nvtop. And trying to run it from within distrobox can’t find it as well. bash: nvtop: command not found

rpm-ostree can’t find anything


<span style="color:#323232;">$ rpm-ostree uninstall nvtop
</span><span style="color:#323232;">error: Package/capability 'nvtop' is not currently requested
</span>

edit:

I can also locate nvtop but that’s of no help to me


<span style="color:#323232;">/usr/bin/nvtop
</span><span style="color:#323232;">/usr/share/applications/nvtop.desktop
</span><span style="color:#323232;">/usr/share/doc/nvtop
</span><span style="color:#323232;">/usr/share/doc/nvtop/README.markdown
</span><span style="color:#323232;">/usr/share/icons/hicolor/scalable/apps/nvtop.svg
</span><span style="color:#323232;">/usr/share/licenses/nvtop
</span><span style="color:#323232;">/usr/share/licenses/nvtop/COPYING
</span><span style="color:#323232;">/usr/share/man/man1/nvtop.1.gz
</span><span style="color:#323232;">/usr/share/metainfo/io.github.syllo.nvtop.metainfo.xml
</span>

locate *.appimage does not return an unknown appimage

edit2:

I just tried installing it via rpm-ostree. I’m getting closer, but still no idea what to do with the result. Rebooting is always a good idea. Rebooting didn’t help.

$ rpm-ostree install nvtop error: “nvtop” is already provided by: nvtop-3.0.2-2.fc39.x86_64. Use --allow-inactive to explicitly require it.

boredsquirrel,

This is one of the dozens of things where I honestly think, Fedora+KDE would be a better workstation.

In KDE, showing app entry details would show the exact command ran.

If you want to find what app that is, search for the launcher in


<span style="color:#323232;">/usr/share/applications
</span><span style="color:#323232;">~/.local/share/applications
</span><span style="color:#323232;">~/.local/share/flatpak/exports/share/applications #I think
</span>

Or do flatpak list --installed or rpm-ostree status

fortified_banana,

If you’re using universal blue images, that comes built into the image (at least on nvidia images for sure). To get rid of it, you’d have to use rpm-ostree override remove to get rid of it.

barbara,

that’s it! Thank you!

Bryan_McCalloway,

Did you try to uninstall it with :

rpm-ostree override remove nvtop

That’s the way to delete packages from the base tree

barbara,

nice, thx

QuazarOmega,

What’s the output of rpm-ostree status --verbose? That might give a bit more insight on what’s going on.

Also regarding this:

Use --allow-inactive to explicitly require it.

It seems to suggest that somehow nvtop is already in your base layer, since the manual says this:

–allow-inactive to allow requests for packages that are already in the base layer.

I don’t know how that could have happened though

barbara,

thx! It’s build into base ublue images. That’s not documented anywhere which is why I didn’t know it.

QuazarOmega,

Ohh, so you were using ublue! Good that everything’s clear now

That’s not documented anywhere

True, seems like it’s not really documented atm (understandable with such a fresh project).
I was able to find the source here: github.com/ublue-os/beyond/blob/…/packages.json#L…

j0rge,
themoonisacheese,
@themoonisacheese@sh.itjust.works avatar

On fedora and el, nvtop apparently is installed as an appimage. An appimage is just a single executable, that you may delete. You may also delete the .desktop entry from /usr/share.

barbara,

thanks. You can also install it via the repository, i.e. sudo dnf install nvtop or with rpm-ostree in my case

removing the desktop entry doesn’t remove the app and hence my problem, does it?

vk6flab,
@vk6flab@lemmy.radio avatar

I use Debian, but Google suggests something like:

yum whatprovides /usr/bin/nvtop

barbara,

That command does not work with rpm-ostree. Thanks for the tip!

boredsquirrel,

That is even outdated on normal fedora

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines