Friday, July 10, 2009

Rebuilding a deb package from an installation

If you have an ubuntu/debian system , you can rebuild the deb file of any installed package. For this install the dpkg-repack package.

# apt-get install dpkg-repack

Suppose you have aspell installed on you system . Rebuild the package as below.

# dpkg-repack aspell

Now look at your current directory. You will see


dpkg-repack will work only as root.

No comments: