Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

is there anyway to package the installed software on the system? i mean without going to/var/cache/apt.. and without downloading anything else, can i use a dpkg command to make a packages from all installed software on my system?

so i can take those packages, put them on a CD, and install them on another system without grabbing files from the cache or using AptonCD.


share|improve this question

1 Answer 1

Yes, you can use dpkg-repack to accomplish this.

  1. Install dpkg-repack Install dpkg-repack and fakeroot Install fakeroot (to avoid being root to repackage). Or from the terminal:

    sudo apt-get install dpkg-repack fakeroot
  2. Repackge installed package

    fakeroot -u dpkg-repack <package name>

And you'll find the package in the current directory.

Note that any changes on the system on the package after it has been installed will be reflected in the repackaged version!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.