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 use a Asus EEE PC 901 with one 4GB SSD and one 8GB SSD with an installed Ubuntu Netbook Remix 10.04. Because the 4GB SSD is much faster then the 8GB SSD, I installed UNR on the 4 GB SSD and mounted the 8 GB SSD to the home directory. But now my space is very limited.

Thats the reason why I want to know how I can change the installation path of a program.

share|improve this question

Apps tend to install themselves to several different places in the filesystem, it's generally not straightforward to install them somewhere other than the default (although though some will work fine if you shift them.

4GB should be enough for an Ubuntu install, assuming user data is not on the same partition. In the meantime it might be worth having a cleanup. Ditching old kernels will create 100MB of space per kernel, so that's a quick way to free a lot of space.

share|improve this answer
I think @Sam already has his /home on the 8GB drive, and the apps on the 4GB - his issue is how to continue to do this when the 4GB is filling up. I like the suggestion of freeing up space on /, you might also want to see – 8128 Oct 24 '10 at 8:38

As >>outofstep mentioned, you could just mount an additional harddrive or partion as /usr or as /usr/share. Most programs install the major part of their installation in these locations.

(First obviously you have to mirror your /usr files to the new parttion to make sure everything will still be in place. But I'm certain you're familiar with that part.)

share|improve this answer

You seem to know what you want placed where. If so, at the cost of re-installation, why not simply repartition your SSDs, then place your various directories where you want them?

On a netbook, always consider using RAM disk for temporary stuff eg /tmp.

share|improve this answer

Your Answer


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