You are not logged in.
I know the -Ql list the installed tool files.
thanks.
Last edited by jinleileiking (2011-11-29 15:53:33)
Offline
http://www.archlinux.org/packages/commu … nel/files/ is one way to do it.
If you know the name of the file you're looking for, you can use pkgfile https://wiki.archlinux.org/index.php/FA … is_X_in.3F
Last edited by karol (2011-11-29 15:35:36)
Offline
http://www.archlinux.org/packages/commu … nel/files/ is one way to do it.
You say using the website?
Can pacman do it?
Offline
Can pacman do it?
No, this info is not stored in sync databases, it's stored in the package, so you have to install it.
Offline
jinleileiking wrote:Can pacman do it?
No, this info is not stored in sync databases, it's stored in the package, so you have to install it.
Then how can I find what the pacakge the alsamixer in ?
Offline
karol wrote:jinleileiking wrote:Can pacman do it?
No, this info is not stored in sync databases, it's stored in the package, so you have to install it.
Then how can I find what the pacakge the alsamixer in ?
What went wrong with pkgfile?
Not sure if you've noticed it, but I edited one of my previous posts https://bbs.archlinux.org/viewtopic.php … 2#p1022652
Last edited by karol (2011-11-29 15:49:49)
Offline
jinleileiking wrote:karol wrote:No, this info is not stored in sync databases, it's stored in the package, so you have to install it.
Then how can I find what the pacakge the alsamixer in ?
What went wrong with pkgfile?
Not sure if you've noticed it, but I edited one of my previous posts https://bbs.archlinux.org/viewtopic.php … 2#p1022652
I see. pkgfile cannot find the X in which package that not installed.
Thanks a lot!.
Offline
I see. pkgfile cannot find the X in which package that not installed.
Thanks a lot!.
Not sure what you mean https://wiki.archlinux.org/index.php?ti … did=171354
[karol@black ~]$ pkgfile alsamixer
extra/alsa-utilsIt can find here.
Last edited by karol (2011-11-29 15:55:01)
Offline
jinleileiking wrote:I see. pkgfile cannot find the X in which package that not installed.
Thanks a lot!.
Not sure what you mean https://wiki.archlinux.org/index.php?ti … did=171354
[karol@black ~]$ pkgfile alsamixer extra/alsa-utilsIt can find here.
Sorry for my poor English.
If you do not install the alsa-utils, you cannot use the cmd 'pkgfile alsamixer' to find which package the alsamixer in.
Sometime, I know the cmd, but I do not know the package, then pkgfile cannot help me find the pacakge I should install.
Offline
It's not true, pkgfile uses the data from files database provided by the repositories (many unofficial repositories do not provide it) so it will find the right package even if you don't have the package installed.
Last edited by karol (2011-11-29 16:08:04)
Offline
No, that's exactly the purpose of pkgfile and that's what it does. It sounds like you neglected to update the file lists before trying to use pkgfile.
I use nosr, but it serves exactly the same purpose and behaves rather similarly:
# nosr -u
$ pacman -Q networkmanager
error: package 'networkmanager' was not found
$ nosr nm-online
extra/networkmanager 0.9.2.0-1 /usr/bin/nm-onlineOffline
Both pkgfile and nosr have '-l' switch that works the same way as 'pacman -Ql' but for every package from the repos, not only those you have installed.
Offline
......We got the wrong way...
pkgfile and nosr is to find what the package the cmd is.
pkgfile alsamixer ---- the cmd
extra/alsa-utils --- the package
The question I ask is :
???? alsa-utils ( alsa-utils is not installed)
/usr/bin/aslamixer
......
.......
what is the ???? cmd
Offline
what is the ???? cmd
$ pkgfile -l alsa-utils
.
.
.
alsa-utils /usr/bin/alsaloop
alsa-utils /usr/bin/alsamixer
alsa-utils /usr/bin/alsaucm
.
.
.Offline
above
Offline
But I cannot find the contents
➜ ~ git:(master) ✗ sudo pkgfile -u
Password:
:: Checking [core] for files list ...
No update available
:: Checking [extra] for files list ...
No update available
:: Checking [community] for files list ...
No update available
:: Checking [archlinuxfr] for files list ...
No update available
➜ ~ git:(master) ✗ sudo pkgfile -l audacity
Package "audacity" not found
➜ ~ git:(master) ✗ pacman -Ss auda
extra/audacious 3.1-2 [installed]
Lightweight, GTK-based advanced audio player focused on audio quality
extra/audacious-plugins 3.1-4 [installed]
Plugins for Audacious
extra/audacity 1.3.13-2
A program that lets you manipulate digital audio waveformsLast edited by jinleileiking (2011-11-30 14:02:16)
Offline
Where did you get this pkgfile from?
[karol@black ~]$ pacman -Q audacity
error: package 'audacity' was not found[karol@black ~]$ pkgfile -l audacity
audacity /usr/
audacity /usr/bin/
audacity /usr/bin/audacity
audacity /usr/share/
audacity /usr/share/applications/
audacity /usr/share/applications/audacity.desktop
audacity /usr/share/audacity/
audacity /usr/share/audacity/EQDefaultCurves.xml
audacity /usr/share/audacity/nyquist/
audacity /usr/share/audacity/nyquist/bug.lsp
audacity /usr/share/audacity/nyquist/dspprims.lsp
audacity /usr/share/audacity/nyquist/envelopes.lsp
audacity /usr/share/audacity/nyquist/equalizer.lsp
audacity /usr/share/audacity/nyquist/evalenv.lsp
audacity /usr/share/audacity/nyquist/fileio.lsp
audacity /usr/share/audacity/nyquist/follow.lsp
audacity /usr/share/audacity/nyquist/init.lsp
audacity /usr/share/audacity/nyquist/misc.lsp
audacity /usr/share/audacity/nyquist/nyinit.lsp
audacity /usr/share/audacity/nyquist/nyqmisc.lsp
audacity /usr/share/audacity/nyquist/nyquist-plot.txt
audacity /usr/share/audacity/nyquist/nyquist.lsp
audacity /usr/share/audacity/nyquist/printrec.lsp
audacity /usr/share/audacity/nyquist/profile.lsp
audacity /usr/share/audacity/nyquist/rawwaves/
audacity /usr/share/audacity/nyquist/rawwaves/mand1.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand10.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand11.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand12.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand2.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand3.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand4.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand5.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand6.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand7.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand8.raw
audacity /usr/share/audacity/nyquist/rawwaves/mand9.raw
audacity /usr/share/audacity/nyquist/rawwaves/mandpluk.raw
audacity /usr/share/audacity/nyquist/rawwaves/marmstk1.raw
audacity /usr/share/audacity/nyquist/rawwaves/sinewave.raw
audacity /usr/share/audacity/nyquist/sal-parse.lsp
audacity /usr/share/audacity/nyquist/sal.lsp
audacity /usr/share/audacity/nyquist/seq.lsp
audacity /usr/share/audacity/nyquist/seqfnint.lsp
audacity /usr/share/audacity/nyquist/seqmidi.lsp
audacity /usr/share/audacity/nyquist/sndfnint.lsp
audacity /usr/share/audacity/nyquist/stk.lsp
audacity /usr/share/audacity/nyquist/system.lsp
audacity /usr/share/audacity/nyquist/xlinit.lsp
audacity /usr/share/audacity/nyquist/xm.lsp
audacity /usr/share/audacity/plug-ins/
audacity /usr/share/audacity/plug-ins/SilenceMarker.ny
audacity /usr/share/audacity/plug-ins/SoundFinder.ny
audacity /usr/share/audacity/plug-ins/beat.ny
audacity /usr/share/audacity/plug-ins/clicktrack.ny
audacity /usr/share/audacity/plug-ins/clipfix.ny
audacity /usr/share/audacity/plug-ins/crossfadein.ny
audacity /usr/share/audacity/plug-ins/crossfadeout.ny
audacity /usr/share/audacity/plug-ins/delay.ny
audacity /usr/share/audacity/plug-ins/equalabel.ny
audacity /usr/share/audacity/plug-ins/highpass.ny
audacity /usr/share/audacity/plug-ins/lowpass.ny
audacity /usr/share/audacity/plug-ins/notch.ny
audacity /usr/share/audacity/plug-ins/pluck.ny
audacity /usr/share/audacity/plug-ins/rissetdrum.ny
audacity /usr/share/audacity/plug-ins/tremolo.ny
audacity /usr/share/audacity/plug-ins/vocalremover.ny
audacity /usr/share/audacity/plug-ins/vocoder.ny
audacity /usr/share/doc/
audacity /usr/share/doc/audacity/
audacity /usr/share/doc/audacity/LICENSE.txt
audacity /usr/share/doc/audacity/README.txt
audacity /usr/share/icons/
audacity /usr/share/icons/hicolor/
audacity /usr/share/icons/hicolor/16x16/
audacity /usr/share/icons/hicolor/16x16/apps/
audacity /usr/share/icons/hicolor/16x16/apps/audacity.png
audacity /usr/share/icons/hicolor/22x22/
audacity /usr/share/icons/hicolor/22x22/apps/
audacity /usr/share/icons/hicolor/22x22/apps/audacity.png
audacity /usr/share/icons/hicolor/24x24/
audacity /usr/share/icons/hicolor/24x24/apps/
audacity /usr/share/icons/hicolor/24x24/apps/audacity.png
audacity /usr/share/icons/hicolor/32x32/
audacity /usr/share/icons/hicolor/32x32/apps/
audacity /usr/share/icons/hicolor/32x32/apps/audacity.png
audacity /usr/share/icons/hicolor/48x48/
audacity /usr/share/icons/hicolor/48x48/apps/
audacity /usr/share/icons/hicolor/48x48/apps/audacity.png
audacity /usr/share/icons/hicolor/scalable/
audacity /usr/share/icons/hicolor/scalable/apps/
audacity /usr/share/icons/hicolor/scalable/apps/audacity.svg
audacity /usr/share/locale/
audacity /usr/share/locale/af/
audacity /usr/share/locale/af/LC_MESSAGES/
audacity /usr/share/locale/af/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ar/
audacity /usr/share/locale/ar/LC_MESSAGES/
audacity /usr/share/locale/ar/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/be/
audacity /usr/share/locale/be/LC_MESSAGES/
audacity /usr/share/locale/be/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/bg/
audacity /usr/share/locale/bg/LC_MESSAGES/
audacity /usr/share/locale/bg/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/bn/
audacity /usr/share/locale/bn/LC_MESSAGES/
audacity /usr/share/locale/bn/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/bs/
audacity /usr/share/locale/bs/LC_MESSAGES/
audacity /usr/share/locale/bs/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ca/
audacity /usr/share/locale/ca/LC_MESSAGES/
audacity /usr/share/locale/ca/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ca@valencia/
audacity /usr/share/locale/ca@valencia/LC_MESSAGES/
audacity /usr/share/locale/ca@valencia/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/cs/
audacity /usr/share/locale/cs/LC_MESSAGES/
audacity /usr/share/locale/cs/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/cy/
audacity /usr/share/locale/cy/LC_MESSAGES/
audacity /usr/share/locale/cy/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/da/
audacity /usr/share/locale/da/LC_MESSAGES/
audacity /usr/share/locale/da/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/de/
audacity /usr/share/locale/de/LC_MESSAGES/
audacity /usr/share/locale/de/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/el/
audacity /usr/share/locale/el/LC_MESSAGES/
audacity /usr/share/locale/el/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/es/
audacity /usr/share/locale/es/LC_MESSAGES/
audacity /usr/share/locale/es/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/eu/
audacity /usr/share/locale/eu/LC_MESSAGES/
audacity /usr/share/locale/eu/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/fa/
audacity /usr/share/locale/fa/LC_MESSAGES/
audacity /usr/share/locale/fa/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/fi/
audacity /usr/share/locale/fi/LC_MESSAGES/
audacity /usr/share/locale/fi/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/fr/
audacity /usr/share/locale/fr/LC_MESSAGES/
audacity /usr/share/locale/fr/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ga/
audacity /usr/share/locale/ga/LC_MESSAGES/
audacity /usr/share/locale/ga/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/gl/
audacity /usr/share/locale/gl/LC_MESSAGES/
audacity /usr/share/locale/gl/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/he/
audacity /usr/share/locale/he/LC_MESSAGES/
audacity /usr/share/locale/he/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/hi/
audacity /usr/share/locale/hi/LC_MESSAGES/
audacity /usr/share/locale/hi/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/hu/
audacity /usr/share/locale/hu/LC_MESSAGES/
audacity /usr/share/locale/hu/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/id/
audacity /usr/share/locale/id/LC_MESSAGES/
audacity /usr/share/locale/id/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/it/
audacity /usr/share/locale/it/LC_MESSAGES/
audacity /usr/share/locale/it/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ja/
audacity /usr/share/locale/ja/LC_MESSAGES/
audacity /usr/share/locale/ja/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ka/
audacity /usr/share/locale/ka/LC_MESSAGES/
audacity /usr/share/locale/ka/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/km/
audacity /usr/share/locale/km/LC_MESSAGES/
audacity /usr/share/locale/km/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ko/
audacity /usr/share/locale/ko/LC_MESSAGES/
audacity /usr/share/locale/ko/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/lt/
audacity /usr/share/locale/lt/LC_MESSAGES/
audacity /usr/share/locale/lt/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/mk/
audacity /usr/share/locale/mk/LC_MESSAGES/
audacity /usr/share/locale/mk/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/my/
audacity /usr/share/locale/my/LC_MESSAGES/
audacity /usr/share/locale/my/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/nb/
audacity /usr/share/locale/nb/LC_MESSAGES/
audacity /usr/share/locale/nb/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/nl/
audacity /usr/share/locale/nl/LC_MESSAGES/
audacity /usr/share/locale/nl/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/oc/
audacity /usr/share/locale/oc/LC_MESSAGES/
audacity /usr/share/locale/oc/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/pl/
audacity /usr/share/locale/pl/LC_MESSAGES/
audacity /usr/share/locale/pl/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/pt/
audacity /usr/share/locale/pt/LC_MESSAGES/
audacity /usr/share/locale/pt/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/pt_BR/
audacity /usr/share/locale/pt_BR/LC_MESSAGES/
audacity /usr/share/locale/pt_BR/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ro/
audacity /usr/share/locale/ro/LC_MESSAGES/
audacity /usr/share/locale/ro/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/ru/
audacity /usr/share/locale/ru/LC_MESSAGES/
audacity /usr/share/locale/ru/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/sk/
audacity /usr/share/locale/sk/LC_MESSAGES/
audacity /usr/share/locale/sk/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/sl/
audacity /usr/share/locale/sl/LC_MESSAGES/
audacity /usr/share/locale/sl/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/sv/
audacity /usr/share/locale/sv/LC_MESSAGES/
audacity /usr/share/locale/sv/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/tg/
audacity /usr/share/locale/tg/LC_MESSAGES/
audacity /usr/share/locale/tg/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/tr/
audacity /usr/share/locale/tr/LC_MESSAGES/
audacity /usr/share/locale/tr/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/uk/
audacity /usr/share/locale/uk/LC_MESSAGES/
audacity /usr/share/locale/uk/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/vi/
audacity /usr/share/locale/vi/LC_MESSAGES/
audacity /usr/share/locale/vi/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/zh/
audacity /usr/share/locale/zh/LC_MESSAGES/
audacity /usr/share/locale/zh/LC_MESSAGES/audacity.mo
audacity /usr/share/locale/zh_TW/
audacity /usr/share/locale/zh_TW/LC_MESSAGES/
audacity /usr/share/locale/zh_TW/LC_MESSAGES/audacity.mo
audacity /usr/share/man/
audacity /usr/share/man/man1/
audacity /usr/share/man/man1/audacity.1.gz
audacity /usr/share/mime/
audacity /usr/share/mime/packages/
audacity /usr/share/mime/packages/audacity.xml
audacity /usr/share/pixmaps/
audacity /usr/share/pixmaps/audacity.xpm
audacity /usr/share/pixmaps/audacity16.xpm
audacity /usr/share/pixmaps/audacity32.xpm
audacity /usr/share/pixmaps/gnome-mime-application-x-audacity-project.xpm
[karol@black ~]$ [karol@black ~]$ pkgfile alsamixer
extra/alsa-utilsLast edited by karol (2011-11-30 16:13:31)
Offline