Re: Making Debian Packages from tar ball files
Thanks for all the help
Benedict Verheyen wrote:
Nick Hastings <firstname.lastname@example.org> wrote:
* Hamid [030516 14:24]:
How can one make a debian package from a tar ball source ?
For example, I have downloaded and installed "Downloader for X" (
and now I want to install it on another Debian box.
Hmm, perhaps this is not such a good exmaple since d4x is already in
The general answer is quite complicated. You could start by reading
the "New Maintainers' Guide"
Or for a quick and horribly dirty solution make a tar ball of your
compiled binaries and convert it to a 3rd class .deb with alien (this
is by no means a recommended approach).
Another sollution that i've tried and looks good is to install "checkinstall".
This package checks what you do during the compilation of the source code and then makes a deb package (or rpm if you have to) of the source automagically.
You can then use this deb package to install so the program is known by dpkg.
As another user said, if you don't want anything automated, the Debian Maintainers Guide is the way to go.
This is a very good page describing in several steps what you need to do to create a deb package form source: