When you need to create a Debian package from source code these steps may be of assistance.
The first step would be to ensure the checkinstall package in on your machine by issuing the following command.
[codesyntax lang=”bash”]
sudo apt-get install checkinstall
[/codesyntax]
In some cases you are required to invoke a configure script by issuing the following command.
[codesyntax lang=”bash”]
./configure
[/codesyntax]
The next logical command is to issue the make command.
[codesyntax lang=”bash”]
make -j4
[/codesyntax]
The -j4 parameter tells make how many jobs to run simultaneously. In this case that is four simultaneous jobs.
Now you are ready to create the Debian package by issuing the following command.
[codesyntax lang=”bash”]
sudo checkinstall
[/codesyntax]
Follow the prompts and your package will be created and installed.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.