Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

how to package installed packages?

Writer Matthew Harrington

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.

1 Answer

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!

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy