finding libraries



Is this the correct way to do this.


ls -R | grep lib > locate

I am inside a directory and have decompressed a file. I now want to find the libraries in the file and check the whole computer system to be sure I do not overwrite something.

TIA
Dave
.