All the programs which you install using Synapatic package manger,apt-get,aptitude have a .Deb file in the following folder
/var/cache/apt/archives
This is very useful when you want to check which version of package is installed on your system and you can take backup of this folder and install all the packages in another machine
If you want to use GUI Program for this check here
The directory /var/cache/apt/archives may be cleaned up with the commands aptitude autoclean or aptitude clean. Use the apt-show-versions command to list available package versions with distribution.
Hi,
I tried to copy the packages from”/var/cache/apt/archives”. I could not able to find any packages in this location.
Is it only If I use Synaptic, packages will be saved there? I installded the packages manually by downloading it one by one and double click on it. Is it because of this processor?
I am using Ubuntu 8.04 in Wubi.
thats a stupid solution it’s just a cache directory.
if you want to have all the list of isntalled packages just use dpkg --get-selections. but that’s going to pull all of them (dependencies etc).
look at debfoster if you only want to know the packages that you actually pulled yourself. if dependencies change in the interim you wont have to reinstall them…
thankx, very useful!
The directory /var/cache/apt/archives may be cleaned up with the commands
aptitude autoclean
oraptitude clean
. Use theapt-show-versions
command to list available package versions with distribution.Hi,
I tried to copy the packages from”/var/cache/apt/archives”. I could not able to find any packages in this location.
Is it only If I use Synaptic, packages will be saved there? I installded the packages manually by downloading it one by one and double click on it. Is it because of this processor?
I am using Ubuntu 8.04 in Wubi.
Once apt-get clean or autoclean is run, all the cache will be cleared.
thats a stupid solution it’s just a cache directory.
if you want to have all the list of isntalled packages just use dpkg
--
get-selections. but that’s going to pull all of them (dependencies etc).look at debfoster if you only want to know the packages that you actually pulled yourself. if dependencies change in the interim you wont have to reinstall them…