You are not logged in.
I have several application installed that I'd like to remove. I have no idea which package brought them to my system. Is there a way I can search within a package for a keyword? For example:
Gnome Applications>Sound & Video>
-Dragonplayer
-JuK
-Kscd
Last edited by graysky (2009-05-23 15:54:30)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
"pacman -Qo <file>" to tell you what package a file belongs to.
For items in your menu, grep through /usr/share/applications/*.desktop for the application name and then look further into that file to find the binary name.
Edit: looks like kdemultimedia maybe...
Offline
Or you can use "which <commandName>" to find the file.
Last edited by qubit (2009-05-23 12:28:00)
Offline
If you know the name of the binary, you could do it like this
pacman -Qo `which firefox`
Replace firefox by your binary
Offline
I have a reverse-and-opposite question: I have uninstalled a couple pkgs and now an app I need went missing. How do I find out which package is it in?
The app in question was xdpyinfo from xorg-utils IIRC. Is there an easy way to query some Arch / pacman-related db or do I have to google it? Use 'locate' on my local ABS db?
It's even harder when I have never had it installed - I know the app's name, but not the package's. I know what I need, but not how to get it :-)
Offline
pkgfile from the pkgtools package will do that for you
Offline
Thanks Allan, you're my hero!
Why do pkgtools need tar and don't list it as a dep? Am I missing sth?
'pacman -S pkgtools' installed only pkgtools.
'pkgfile --update' failed for every group (core, extra etc.) w/
Unable to extract core.files.tar.gz.
Done
Done?!
'pacman -S tar' fixed it, but as pacman relies on libarchive w/ bsdtar ...
Offline
In general all packages in the base group are assumed to be installed and thus not listed explicitely as dependendencies.
Offline
Thanks for the replies, all. kdemultimedia was to blame (just nuked k3b).
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline