You are not logged in.
Pages: 1
Sorry for such a newbie question, but I don't find it in pacman nor AUR nor google nor forum.
As I only get `sha1sum` in my system, so the question is where is the `shasum` package?
Last edited by lxyu (2012-10-15 10:36:07)
Offline
$ which shasum
/usr/bin/core_perl/shasum
$ pkgfile $(which shasum)
core/perl
pkgfile can help find the package containing a file. pkgfile is in the community repo.
An ugly way to accomplish the same task is to use Google:
site:www.archlinux.org/packages/ shasum
Offline
Install pkgfile from Community and search the file via
pkgfile -s xxx
Offline
Thank you all.
Also find it by `locate`. I forgot to `updatedb` so I didn't find it before.
$ sudo updatedb
$ locate shasum
@thisoldman, I see you use a `which shasum` so you must have manually include it in your PATH, isn't it?
Yet one more question, why `sha1sum` get the privilege to be put in `/usr/bin` while `shasum` not?
Offline
You can also do :
pacman -Qo $(which shasum)
Offline
You can also do :
pacman -Qo $(which shasum)
No need for the which....
> pacman -Qo shasum
/usr/bin/core_perl/shasum is owned by perl 5.16.1-1
Offline
@thisoldman, @xzy3186
you can simply do
$ pkgfile <query>
no need for $(which ...) or even for the -s switch, as it searches by default.
Offline
Please read the wiki: https://wiki.archlinux.org/index.php/FA … is_X_in.3F -> https://wiki.archlinux.org/index.php/Pkgfile
Offline
Pages: 1