How to make source code into .deb

Asked by M. Kim

How to make source code into .deb
Thanks, and happy Day!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jim Hutchinson
Solved:
Last query:
Last reply:
Revision history for this message
Best Jim Hutchinson (jphutch) said :
#1

It is generally a three step process. You download the source code and
unpack it. Open a terminal and change to the directory of the unpacked
files. Assuming you have no dependency issues you will type

./configure
make
sudo checkinstall

You have to have the build-essential package installed as well as
checkinstall. Checkinstall is what builds the .deb file. Many directions
will say to do "sudo make install" as the third step but while that will
install, it will not make the .deb.

If you get errors during the ./configure stage it's generally because of
missing dependencies. Installing the packages that are missing will usually
solve the problem. Once installed, run the ./configure again until it
finishes without errors.

Hope that helps.

On 7/8/07, M. Kim <email address hidden> wrote:
>
> New question #9405 on Ubuntu:
> https://answers.launchpad.net/ubuntu/+question/9405
>
> How to make source code into .deb
> Thanks, and happy Day!
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>

--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Revision history for this message
M. Kim (gabeyc) said :
#2

Thanks Jim Hutchinson, that solved my question.

Revision history for this message
Jim Hutchinson (jphutch) said :
#3

Glad I could help.

On 7/8/07, M. Kim <email address hidden> wrote:
>
> Question #9405 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/9405
>
> Status: Answered => Solved
>
> M. Kim confirmed that the question is solved:
> Thanks Jim Hutchinson, that solved my question.
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>