How to install software in ubuntu in other hard drives?

I dual booted ubuntu 20.04 LTS on my laptop
Partition space that I provided to install ubuntu was 25GB
now I need to install software like android studios and other ides.
I have my windows ssd mounted on ubuntu and I can use it store my files.
Is there a way to install these software’s in the SSD I have?
Please guide me I’m very new to ubuntu.