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

Re: packaging a self compiled program in a .deb file

--On Thursday, November 20, 2003 13:17:32 -0500 Alexander Winston <alexander.winston@comcast.net> wrote:

On Thu, 2003-11-20 at 11:44, Micha Feigin wrote:
I want to package a program I compiled in a .deb to enable
uninstalling it cleanly later.
It seems that alien can convert slackware tgz packages to debs (I
tried the other way around and it doesn't seem like there is any
extra data except for the program) and I thought that this could be
used to do that (I am just looking for unistall ability and to know
whats installed, nothing else).
To create this I need to install into some local directory instead of
root so that I can create the tar file.
Any idea how to do that (maybe chroot could do that but then I loose
access to the local executables).

Check out the Debian New Maintainers' Guide

Though that probably is "the right way", you may want to take "the easy way" and have a look at checkinstall.

and/or  http://asic-linux.com.mx/~izto/checkinstall/

Good luck,

Reply to: