I'm answering a question with a suggestion to use rename
, and I realize I don't know what package it comes from (as part of the answer, I imagine saying something like "if you don't have rename
, it's installed as part of [package]").
man rename
tells me to SEE ALSO: mv(1), perl(1)
- so my first thought is that it was installed with perl.
A related answer, how to tell what was installed as part of a package, helps me figure out that the perl package includes prename
but not rename
- and it turns out that my /usr/bin/rename
points to /etc/alternatives/rename
which points to /usr/bin/prename
So this is still kind of confusing. Did /etc/alternatives/rename
point somewhere else before I installed perl? Is there a general way to tell which package something comes from?