I need to ensure that when I download from Ubuntu Software Centre, I do so on a self-made partition, and not in the HOME folder.
This applies only to applications and games. Is this possible?
[This may be a basic issue, but I found no easily accessible answer for the same.]
The packages are not downloaded to the
$HOME
folder. And Software Center doesn't do the downloading. You cannot install packages to a separate directory, other than where the package indicates the files are to be put. The packages are installed the same way if you use Software Center,apt-get
on the command line, or any other tool, such assynaptic
.However, in the case of
For Purchase
apps (whether they are for a price, or free), the data is generally stored entirely in/opt
, except for a few small files to make the app available to launch in the Unity dash, and similar. In this case, you can simply make anext4
partition and mount it as/opt
on boot by adding the appropriate configuration to a new file in/etc/fstab.d/
. You can mount the partition elsewhere first, to copy any data which already exists in/opt
over to the new partition.For the case of games installed via Steam however, they are outside the realm of Ubuntu's package management, and always installed into the Steam application data and profile directories, which default to being a hidden folder within
$HOME
. It would be possible to mount a partition in this location, with all the Steam data, as well.If you mean where the packages themselves are downloaded to, prior to installation, they are stored in
/var/cache/apt/archives
and you can mount a separate partition there, or simply clean out the directory occasionally to free space if necessary.