Random Musings...

My quick and dirty notes on building deb backports

Tired of Googling and not doing this to enough to remember so here’s my notes:

  1. Grab the sources
    dget http://deb.debian.org/debian/pool/main/h/htop/htop_3.0.5-2.dsc
    
  2. Install build dependcies
    sudo mk-build-deps --install --remove
    
  3. Bump the package version
    dch --bpo
    
  4. Test building (apt-file might help)
    fakeroot debian/rules binary
    
  5. Build the deb!
    dpkg-buildpackage -b --no-sign