Re: [Q] How to compile a deb source pacjage
It's pretty easy, usually.
1) Download the source components into the directory of your choice.
There should be either two or three files: *.orig.tar.gz, *.dsc, and
*.diff.gz (not present if it's a "native" Debian package).
2) Enter the command "dpkg-source -x <packagename>.dsc". This will
unpack the source into the <packagename> directory, which will be
created.
3) Go into the unpacked source directory, and issue the command
"debian/rules build".
4) Issue the command "fakeroot debian/rules binary". Assuming that you
have all of the necessary development packages installed, your
debfile will be created in the parent directory.
If you get any errors about required files/commands not being present,
you can find out what packages you need to install by doing a package
search at the Debian website. Just follow the "Debian Packages" link on
the main page.
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?
Reply to: