Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.