How do I install a program to another HDD? [duplicate]

I've been trying to find a solution but couldn't so far and I feel very stupid. Just recently switched from windows, installed Ubuntu on my SSD. I want to install Steam and games to my 1TB HDD. But how do I do that? I'm having a really hard time to understand this.


In linux, you do not install a program on another partition ("drive"). Upon program installation, different components of the program are placed in dedicated functional system folders. That boils down to folders containing data of different applications. One can, however, distribute different system folders over different storage media. This is done in server systems. Also because system files rarely exceed 15 GB, they are typically kept on a single storage medium in personal computers.

Prefer installing software on the SSD. This makes a large difference in perceived system performance. Reserve your traditional HDD for storage of data, i.e. big static files or archive data.