Compiling Debian Packages: Difference between revisions

From DWIKI
Tony (talk | contribs)
 
Tony (talk | contribs)
mNo edit summary
Tag: wikieditor
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Compiling [[Debian]] Packages=
=Links=
 
*[https://raphaelhertzog.com/2010/12/15/howto-to-rebuild-debian-packages/ Howto to rebuild Debian packages]
*[https://pe.becue.phd/debian-packaging-intro Debian Packaging Into]
==Existing packages==
==Existing packages==
   
   
Line 9: Line 10:
  dpkg-source -x packagename_x.x.dsc
  dpkg-source -x packagename_x.x.dsc


  cd packagename_x.x
  cd packagename-x.x


===Do your stuff with the source===
===Do your stuff with the source===
Line 16: Line 17:
''debian/rules''
''debian/rules''


  dpkg-buildpackage
  dpkg-buildpackage -us -uc
 
 
[[Category:Debian]]

Latest revision as of 13:31, 4 February 2026

Links

Existing packages

dpkg-add source packagename

( this will save the downloaded files in . )

dpkg-source -x packagename_x.x.dsc
cd packagename-x.x

Do your stuff with the source

Relevant files:

debian/rules

dpkg-buildpackage -us -uc