How to Create a Removeable Repository with AptonCD in Ubuntu

April 30, 2014 | By in UBUNTU HOWTO
| Reply More

I use the advanced package tool (apt) eveytime I want to install a new app or search for software in my default repositories. But, what is apt for people that don't know?

What is apt

apt is used in debian based distributions to handle the installation and removal of software. It automatically downloads the specified packages, resolves their dependencies and installs them. The fact that apt has been ported to Mac OS X for some of its own package management system tells us that it is a very important package manager tool.

The Ubuntu Linux system I use makes use of the advanced package manager tool. I find it very useful to use and it helps me to manage my software in a very efficient way. For example, If I want to search if a specific package exists in the default repositories I use the following command.

sudo apt-cache search package_name

It the package exists it can be installed with the following command.

sudo apt-get install package_name

What command is used to update the packages? The following command is used to resynchronize the package index files from their sources.

sudo apt-get update

You can easily remove a package with the following command.

sudo apt-get remove package_name

A you can see apt is not a single program, it is a collection of tools. The sudo apt-get install package-name command works when the internet connection is available, but what happens if suddenly lose connection to the internet?

Have you ever been in a situation when you wanted to restore the same packages in your fresh Ubuntu installation but the lack of internet made it not possible for you to do that? I have been in this kind of situation and did not know what to do at that time.

Then I rediscovered the APTonCD tool.

What is APTonCD tool

I told you about APTonCD, but what is it? How can this tool help us? According to the official webpage of the APTonCD it is a graphical tool that can be used to save your packages you've downloaded via APT-GET or APTITUDE in a CD or DVD.

In other words the APTonCD tool can create a removeable repository which we can use on other computers that are not connected to the internet.

Why do I like APTonCD

I like and use APTonCD for the following reasons.

1. It is very easy to use and has a very clean user interface. In just a few click I can clone my packages and create a removeable repository.

2. It helps me to all downloaded packages (via apt-get, aptitude and synaptic) to restore later.

3. Install software in machines that don't have an internet connection. You can also share the packages with your friends, neighbours or other linux users.

4. I can take my favourite packages with me wherever I go. All this is done a few clicks. Installing your favourite packages on anytime wherever you are without the need of an internet connection, isn't that amazing?

How to download and use APTonCD

Note: We are testing everything in Ubuntu Linux distribution.

Now that you have enough information on the APTonCD tool I am very sure that you would like to give it a try and see how it works.

The installation disc creator for packages downloaded via APT can be installed by running the following command in your Ubuntu terminal.

Open a new terminal (CTRL+ALT+T) and install APTonCD.

sudo apt-get install aptoncd

After the installtion is finished you can easily launch the tool by running the following command in your terminal.


After APTonCD is launched it will look like the picture shown below.

how to backup installed packages in ubuntu

Click on the Create button to create a disc with all your cached packages installed via APT and also additional packages you have downloaded.

After hiting Create the program will start to collect a list of packages installed on your system

how to backup installed packages in ubuntu

After this process is finished you can select or deselect the packages you like to include or remove in your removeable repository.

Click on Burn. Select the type of medium, destination of the iso image that will be created by the tool and choose a name for it.

how to backup installed packages in ubuntu

Then click on Apply. It is up to you to burn the iso image or not.

how to backup installed packages in ubuntu

To restore the packages from CD/DVD or the iso image run the APTonCD tool in the machine you want to have them and click on Restore.

Note: This will not install any software in your machine. It will only copy it to your apt cache.

Run the following command to search for a package.

sudo apt-cache search package-name

You guys know how to install it,right?

sudo apt-get install package-name


Share This :

Free Linux Ebook to Download

Leave a Reply

Commenting Policy:
Promotion of your products ? Comment gets deleted.
All comments are subject to moderation.