Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

3 Answers 3

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
1  
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 askubuntu.com/questions/5980/clean-ubuntu-to-free-up-disk-space –  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

 
discard

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