Is it mandatory to use "mongodb-mongosh-shared-openssl*" or "mongodb-mongosh" enough?

Hi Team,

Greetings!.

Is it mandatory to use the “mongodb-mongosh-shared-openssl*” or “mongodb-mongosh” enough.

Are there any consequences if we do not use mongodb-mongosh-shared-openssl*

{Thanks and Regards , Satya }