[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (newbie from RH) How can i create a .deb package, or compile a source .deb package ?



Irger Armin wrote:
> how can i create a .deb package ?

You can use dh_make on a previously undebianized source tree, and it
will set up the skeleton of a debian source package in files in debian/.
You then have to modify them so they actually work, though.

> And how can i compile a .deb source package ?

Assuming the source package is in debian and you have appropriate
deb-src lines in /etc/apt/sources.list, just:

	apt-get source --build package

Or, if you already have files of the source package downloaded, you may
manually unpack them with:

	dpkg-source -x package.dsc

And then cd into the directory it creates and build the package with:
	
	debian/rules binary (as root or use fakeroot)

-- 
see shy jo



Reply to: