You are not logged in.
Pages: 1
Topic closed
I spent 10 min in google trying to find out which arch package has the oggdec program. I finally found it (vorbis-tools), but I was unable to do it with pacman. I happened across this page for another distro and luckily, the arch package was named the same as the Debian package.
How can I use pacman to find the vorbis-tool package knowing that I want to search for oggdec? I read the pacman wiki article but didn't find what I'm looking for.
Last edited by graysky (2013-11-22 10:49:51)
Offline
There is no feature in pacman to do that. Install "pkgtools" and use the pkgfile script.
Offline
The data searched by pkgfile used to be available on the web page for each package. I miss that.
Offline
# pacman -Ss pkg
... Find the package. It's not called pkgfile.
# pacman -S pkgfile
resolving dependencies...
looking for inter-conflicts...
... installed
# pkgfile uuencode
extra/sharutils
# pacman -S sharutils
Hurray! ...now use the above to automatically print out the command needed to install the needed command by cannibalizing Ubuntu's find-command bash wiring.
Offline
Or... use the one pkgfile gives you:
/usr/share/doc/pkgfile/command-not-found.bash
Offline
Or... use the one pkgfile gives you:
/usr/share/doc/pkgfile/command-not-found.bash
For zsh there is also /usr/share/doc/pkgfile/command-not-found.zsh which should be sourced in .zsh. Pure gold.
Oops, didn't see that the thread is that old...
Last edited by ball (2013-11-22 10:52:01)
Offline
Oops, didn't see that the thread is that old...
Yeah, that's why I tagged it as I did just now
Good thing is that the content is not out-of-date. Same solution today as 4 years ago.
Offline
Same solution today as 4 years ago.
Not exactly.
There is no feature in pacman to do that. Install "pkgtools" and use the pkgfile script.
# pacman -Ss pkg
... Find the package. It's not called pkgfile.
I think dagelf meant it's not called pkgtools.
$ sudo pacman -S pkgtools
error: target not found: pkgtoolsThey are in the AUR now https://aur.archlinux.org/packages/pkgtools/ and pkgfile is a separate package.
Offline
I stand corrected...
% pacman -Qo /usr/bin/pkgfile
/usr/bin/pkgfile is owned by pkgfile 11-1Offline
No worries, old threads are expected to get out of date at some point - and that' why you should leave them alone. The wiki should have the current info: https://wiki.archlinux.org/index.php/FA … ge_is_X.3F :-)
Offline
And closing. Forum Etiquette: Old Threads / Necro-Bumping
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed