Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install Steam and other programs to a different partition, how do I pick where Ubuntu Software Center will install them? How do I pick where Steam games will be installed?

share|improve this question
Why do you want to install programs on another partition? – Flimm Feb 16 '13 at 9:44
Because my Steam games are too large to fit on the one that Linux originally was installed to. Normally, I would just increase the size the partition, however I can't increase it any more due to space (I have it installed alongside Windows 7). – user132530 Feb 16 '13 at 9:46

Steam is not located together with the Steam games. The Steam application will be located in your system area and available to all users. Your Steam games will be located in your /home directory.

  1. If you installed Ubuntu using LVM, you can use the Disk Utility to add another disk to the volume. This is the easiest option if LVM is already set up, though not as safe as many others. If you lose one of the disks, your data will be gone. If you didn't set up LVM already, you can't (AFAIK) add it after the installation.

  2. You can migrate your /home to a separate disk. This is option is popular among experienced users during installation because your personal data becomes portable and persists across reinstallations. It's a little like having a D: disk for data on Windows, but not exactly. It will be completely transparent to you as the user. You will need to format a new disk using the Disk Utility, mount it, migrate all the data in the current /home to the new disk, unmount the disk, and permanently mount that disk on /home during boot.

  3. See also: How do I use a different drive as an installation location?

share|improve this answer

Packages are installed in different places on the filesystem, they are not just installed in one directory.

For example, here are all the files installed by the steam package:

$ dpkg -L steam 

You could move all these files to a new partition, and then create symlinks from the original locations to the new locations, but this is more trouble than its worth.

If you want to combine two hard disks into one partition, you can use LVM or RAID to do that.

In Steam's case, downloaded games are installed in ~/.local/share/steam by default, and you can change the download location of each installed game. You could make ~/.local/share/steam a symlink to a directory on another partition if you wanted.

share|improve this answer
I ended up using LVM to combine the partitions. Didn't know that was possible. Thanks again! – user132530 Feb 16 '13 at 9:54
If this answer is satisfactory to you, could you accept it by clicking on the tick icon? – Flimm Feb 16 '13 at 10:07

You could also manually move the ~/.local/share/steam directory to where you want it. When you restart steam it'll ask, where it's directory went, you point it where you put it and there you go. :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.