Operating System - Linux
1752771 Members
5071 Online
108789 Solutions
New Discussion юеВ

Re: source rpms - which one?

 
Vincent Fleming
Honored Contributor

source rpms - which one?

I'm a little new to Linux (but have a unix background), and I'm having trouble finding which source RPM has the code for the general user commands like "cat", "ls", and all that.

Does anyone know which SRPM that is?

Thanks,

Vince
No matter where you go, there you are.
3 REPLIES 3
Vincent Fleming
Honored Contributor

Re: source rpms - which one?

Nevermind... found a reference on the 'net about using "rpm -wf /bin/cat" to get the rpm package name... now I know which srpm to load...

Thanks anyway!
No matter where you go, there you are.
Sergejs Svitnevs
Honored Contributor

Re: source rpms - which one?

"w" option doesn't exist.

To see what package a file belongs to: rpm -qf.

# rpm -wf /bin/cat
-wf: unknown option

# rpm -qf /bin/cat
textutils-2.0.14-2

Regards,
Sergejs
Vincent Fleming
Honored Contributor

Re: source rpms - which one?

uh... you are correct - that was a typo...
No matter where you go, there you are.