2

Possible Duplicate:
Compiling source into a DEB package

I have some tarballs I want to convert into Debian packages. I usually use gdebi to install .debs but tarballs are difficult for me to use. How can I use checkinstall or ubucompilator to make these .deb files?

1 Answers1

1

From http://answers.oreilly.com/topic/249-how-to-use-checkinstall-to-create-packages-from-sources/:

Install checkinstall using apt (or your favourite package installer):

sudo apt install checkinstall

Extract the tarball into a directory. In this case, it is /tmp/program_example. Open terminal and cd into it with:

sudo -i

cd /tmp/program_example

Now, run:

make

and then

checkinstall -D --pakdir=/home/youruser/packages/

which will make a deb package in /home/youruser/packages, and install it. You can then reuse it and give it to others. Do not use this to make a package for a PPA or package server. These must be made and tuned manually.

When it prompts you to give a description, just describe the package and then press Enter a few times to finish it.

nanofarad
  • 20,906