Skip to main content
Home
badllama.com
  • Search
  • Log In

debian

Recompiling a DEB Package

bchavet's picture

Mon, 05/07/2012 - 13:20 by bchavet

  1. Make sure a "source" source is defined in /etc/apt/sources.list. Something like this
    deb-src http://http.us.debian.org/debian lenny main contrib non-free
  2. Install some prerequisites
    apt-get install build-essential debhelper fakeroot devscripts
  3. Install the source
    apt-get source package-name
  4. Install the build dependencies
    apt-get build-dep less
  5. Make any required changes to the source tree, or build rules in package-name/debian/rules
  6. Update the package version
Tags: 
debian
ubuntu
  • Read more about Recompiling a DEB Package
Powered by Backdrop CMS