Hello @Siva_kumar8 ,
Please follow below tutorial on Install & Configure MongoDB on the Raspberry Pi
This will give you step by step instructions and in case you face any issues, I would request you to check a few following threads as installation and relevant errors about Raspberry PI are often discussed in various threads such as:
Note: MongoDB 5.0 requires ARM v8.2-A or later and the Raspberry Pi 4 uses an ARM Cortex-A72 which is ARM v8-A. Unfortunately this means the pre-built packages for MongoDB 5.0 will not support Raspberry Pi 4. However, you should be able to build from source by adding
CCFLAGS-march=armv8
to the SCons invocation. See Building MongoDB for full instructions. If building from source is a daunting prospect, an alternative would be to install the latest ARM 64 package of MongoDB 4.4.
Regards,
Tarun