This article describes steps to backup .deb files using APTonCD and to install them on a PC without internet connection.
Download all the required packages with 'Synaptic Package Manager' on the computer which has internet access. Also don't forget to download APTonCD and install on the source computer which has the internet access.
FYI: 'Synaptic Package Manager' keeps a backup of downloaded packages in /var/cache/apt/archives folder.
1. Start APTonCD. System >
Administration > APTonCD
2. Click 'Create' button to create backup of installed programs.
4. Now click the 'Burn' button to create a .iso file of the packages.
5. In the next window, I have selected options to create 'aptoncd-20100213.iso' file in home folder.
Uncheck the option 'Create a meta-package' if you don't need a meta-package. A meta-package actually has dependencies on all the packages you selected in the previous window. So if you want to the same set of packages on another computer all you need is to install the meta-package only.
sudo mount -o loop aptoncd-20100213-CD1.iso /mnt/iso
sudo synaptic --add-cdrom /mnt/iso
Now we are going to set executable bit of the text file so that we can run the text file like a normal program. Open the folder where you have saved the iso file and the text file you have just created. Right click the text file and select 'Properties' option. Click the 'Permissions' tab, click 'Allow executing file as program' option and close the 'Properties' window.
11. Synaptic Package Manager opens up when you have typed in the password.
12. Click 'Origin' button on the bottom left side. This displays software sources or repositories of synaptic package manager.
13. Left pane shows the available software sources.
Select the option 'APTonCD for ubuntu karmic–i386(2010-02-13 07:13) CD1/Main' to see packages under the 'Main' section. Please note that the name of the software source depends on the time and date of creation of the iso file. Also sometimes you may see the name of the software source repeated like 'contrib', 'non-free', 'main', 'restricted' etc.These names just informs the type of the packages i.e whether they are open-source, closed-source, supported by canonical etc.
Visit APTonCD @SourceForge http://aptoncd.sourceforge.net/