How Can I Install Programs on a Different Drive in Linux?

June 7, 2025 5 answers
Asked by CuriousCat123
I recently switched to Linux Mint and installed it on a small SSD. Now, I'm trying to figure out how to install my larger games and software on my 1TB hard drive like I did previously with Linux. I've spent a while trying to learn how to do this, but I've come across a lot of conflicting adviceโ€”some people even suggested creating new partitions with GParted, which honestly makes me nervous about accidentally deleting all my files on the hard drive. Can anyone provide a simple, clear guide on how to manage installations across different drives?

Answers

StorageGuru99
You don't really need to worry too much about where most Linux programs are installed since package managers will do their job without you needing to intervene. Just install your games on the HDD to save space on your SSD. If you're looking for a smooth experience, using flatpak for games and software might be convenient, but check out the official docs for guidance!
Reply to this answer
SpeedyInstaller
If your SSD is pretty small, it's usually better to keep only the games you play frequently there. This way, your SSD can handle the speed for active games, while the HDD can store everything else like downloads and media. That way, you get the best of both worlds!
Reply to this answer
LinuxLover42
You can set your game launcher to install games directly on the hard drive. For other software, just let your package manager handle the installations in their usual locations according to the file hierarchy standard in Linux. Keep in mind, some formats like flatpaks let you install them anywhere, usually in your home directory, while appimages can go pretty much wherever you want. It's best to keep everything tidy by putting them in .local/bin if possible!
Reply to this answer
TechSavvySam
When posting technical questions, be sure to mention your specific Linux distribution and any hardware details. It helps to clarify your query! In your case, for games, you can use Steam's library management features to install games across different partitions. Just ensure your second drive is set up correctly and has the proper filesystem. However, always make backups before modifying partitions to avoid trouble!
Reply to this answer
BackupBuddy
For programs that you managed through package managers, they need to install into specific directories, much like how Windows essential programs need to be in System32. On the flip side, game launchers like Steam allow you to configure where to install your gamesโ€”just change the default folder to your other drive. And definitely remember to back up your data before messing around with partitions!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions