PDA

View Full Version : [ubuntu] How to change default location for installed apps



Julia A
June 1st, 2010, 09:52 AM
Hi

I'm struggling to find how I can change the location of applications that I download. I've got Ubuntu 10.04 loaded onto an EEE 900. As it has two ssds, I'd rather put any apps on the larger drive, and leave the smaller (4gb) drive just for Ubuntu and updates. Update Manager doesn't provide an option to change directory.

I've been through all the settings for Ubunto (Gnome and netook remix) but can't find anything.I've also tried downloading various apps from Update Manager in the hope that one of them would provide for changing defaults. I can't believe its not possible!

If you can help please provide step by step instructions, as I'm very new to Linux

Thanks

-humanaut-
June 1st, 2010, 10:10 AM
sudo apt-get -o=dir::forpackage install foo

Julia A
June 1st, 2010, 02:26 PM
Thanks for this. I pasted it into a terminal, and had the message:

E: Option -o=dir::forpackage: Configuration item specification must have an =<val>.

Is this what you would expect? Can you advise what I need to do next?

formaldehyde_spoon
June 1st, 2010, 04:21 PM
Perhaps this problem would be better solved by a line in fstab, if someone could tell Julia what mount point she should use for her second drive....

philinux
June 1st, 2010, 04:30 PM
Hi

I'm struggling to find how I can change the location of applications that I download. I've got Ubuntu 10.04 loaded onto an EEE 900. As it has two ssds, I'd rather put any apps on the larger drive, and leave the smaller (4gb) drive just for Ubuntu and updates. Update Manager doesn't provide an option to change directory.

I've been through all the settings for Ubunto (Gnome and netook remix) but can't find anything.I've also tried downloading various apps from Update Manager in the hope that one of them would provide for changing defaults. I can't believe its not possible!

If you can help please provide step by step instructions, as I'm very new to Linux

Thanks

What's the size of the other ssd?

Julia A
June 1st, 2010, 05:27 PM
The second ssd is 16GB. I guess I could put Ubuntu onto that drive; its just that when I bought the EEE the OS was on the smaller (4gb) drive, with the larger one for apps and files. Also I'm not sure whether the 16gb drive is slower than the other one.