Deb Package Building

From brainsik
Jump to navigation Jump to search

Install the devscripts package. It has useful tools.

To modify and create new versions of an existing package:

  1. sudo aptitude source -d package
  2. sudo apt-get build-dep package
  3. dpkg-source -x package*dsc
  4. cd packagesourcedir
  5. make modifications
  6. edit the changelog: dch -n
  7. fakeroot dpkg-buildpackage