[Packaging] Let's create a. Deb from source

No Gravatar

Previously I wrote a post with one of the many alternatives for creating Debian packages. This time I want to propose another way forward if you need to compile packages a program that you downloaded the sources.

First procuriamoci what we need to give the shell

$ Sudo apt-get install devscripts dh-make make build-essential dpkg apt

Now that we have ways to build we can start by following these steps:

1. Procuriamoci the archive containing the source of the program that we want to package.

2. We extract the package and enter the directory created

$ Cd folder_name

3. We give the following command:

$ Dh_make-s-e-n-mia@email.com copyright gpl

4. We start the actual compilation with:

$ Debuild binary

At the end we will find, outside of source directory, the package. Deb of the program.

Some notes:
dh_make: create a subfolder. / debian / that is used to compile
Warning: This guide is a minimalistic and very general, and does not cover the endless compilation of case studies of various programs, then, for any problem we suggest you search on the net.

NB: Important to read is the Debian packaging policy.

Popularity: 18% [?]

Tags:


leave a response , or trackback from your own site. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

This website uses IntenseDebate comments, but they are not currently loaded Because either your browser does not support JavaScript, or they did not load fast enough.

Leave a Reply