How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends,

Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?

For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ?