On Monday 20 March 2006 4:28 am, Puneet Lakhina wrote:
I installed a package using apt-get install package-name the package works perfectly fine.. Now is there anyway i can get all the packages dependencies and the package itself inside a single directory which i can write to install the package at a place where an internet connection is not available.
cd /var/cache/apt dpkg-scanpackages archives/ /cdrom/ >Packages tar -zcvf Packages.gz Packages
create an iso of archives and burn to cd. On the target machine. apt-cdrom add apt-get install <packagename>
No need to download stuff more than once.