View Full Version : [kubuntu] how to change dir of /var/cache/apt/archives???
nooor7772000
April 3rd, 2009, 08:59 PM
hi guys...
can i change the dir of synaptic manger from normal dir /var/cache/apt/archives to another dir on my harddisk???
i want download software in another dir and also install it via synaptic manger from new dir.........how plz
logic++
April 3rd, 2009, 09:11 PM
Even though it seems to be very tricky, you could try creating a symbolic link of your desired folder pointing to /var/cache/apt/archives
sudo ln -s /your/desired/folder /var/cache/apt/archives
Before doing this you must delete the already existing /var/cache/apt/archives folder.
snova
April 3rd, 2009, 10:59 PM
i want download software in another dir and also install it via synaptic manger from new dir.........how plz
If you're trying to install .deb files, I believe you need only right-click on them, there is an item on the menu.
nooor7772000
April 4th, 2009, 03:47 AM
Even though it seems to be very tricky, you could try creating a symbolic link of your desired folder pointing to /var/cache/apt/archives
sudo ln -s /your/desired/folder /var/cache/apt/archives
Before doing this you must delete the already existing /var/cache/apt/archives folder.
you are so sweaty and thanks for that):P
nooor7772000
April 4th, 2009, 03:48 AM
If you're trying to install .deb files, I believe you need only right-click on them, there is an item on the menu.
thanks ;)so much and you are so sweaty too
asmoore82
April 4th, 2009, 03:51 AM
and you could move the old to the new location first...
sudo mv /var/cache/apt /new/location/apt-cache
sudo ln -s /new/location/apt-cache /var/cache/apt
BTW - I would recommend relocating the whole "apt" folder and not just "archives"
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.