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

Re: [Q] How to compile a deb source pacjage



On Sun, May 09, 1999 at 03:15:20PM -0400, mxu1@broadway.gc.cuny.edu wrote:
> Hi, 
> 
> A short question:
> 
> Does anyone know how to compile a debian source package into a binary?

If you have the source package, which usually consists of three files, 
the *.dsc, the *.orig.tar.gz, and the *.diff.gz, you need only do the
following to unpack the source:
	dpkg-source -x *.dsc
That will create a directory having the same name as the package.
Change to that directory, and run the following command:
	debian/rules binary
That will run the "rules" script in the "debian" directory, with the
binary argument which says just create the *.deb binary package.  That 
should be sufficient in most cases (except for XFree86 :)

MG

-- 
Matt Garman, garman@students.uiuc.edu
"And though the window in the wall
 Come streaming in on sunlight wings
 A million bright ambassadors of morning." 
	--Pink Floyd, "Echoes"


Reply to: