[Packaging] Let's create a. Deb from source
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: deb, debian, packages, package, Ubuntu
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.



![Add '[Packaging] Let's create a. Deb from Source' to Del.icio.us Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Del.icio.us](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/delicious.png)
![Add '[Packaging] Let's create a. Deb from Source' to digg Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a digg](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/digg.png)
![Add '[Packaging] Let's create a. Deb from Source' to FURL Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a FURL](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/furl.png)
![Add '[Packaging] Let's create a. Deb from Source' to blinklist Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a blinklist](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/blinklist.png)
![Add '[Packaging] Let's create a. Deb from Source' to reddit Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a reddit](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/reddit.png)
![Add '[Packaging] Let's create a. Deb from Source' to Feed Me Links Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Feed Me Links](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/feedmelinks.png)
![Add '[Packaging] Let's create a. Deb from Source' to Technorati Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Technorati](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/technorati.png)
![Add '[Packaging] Let's create a. Deb from Source' to Yahoo My Web Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Yahoo My Web](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/yahoo_myweb.png)
![Add '[Packaging] Let's create a. Deb from Source' to Socializer Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Socializer](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/socializer.png)
![Add '[Packaging] Let's create a. Deb from Source' to Ma.gnolia Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Ma.gnolia](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/magnolia.png)
![Add '[Packaging] Let's create a. Deb from Source' to Google Bookmarks Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Google Bookmarks](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/google.png)
![Add '[Packaging] Let's create a. Deb from Source' to Bloglines Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Bloglines](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/bloglines.png)
![Add '[Packaging] Let's create a. Deb sources' on Squidoo Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a OKnotizie](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/oknotizie.gif)
![Add '[Packaging] Let's create a. Deb from Source' to Bookmark.it Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Bookmark.it](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/bookmark.png)
![Add '[Packaging] Let's create a. Deb from Source' to Ask Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Ask](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/ask.png)
![Add '[Packaging] Let's create a. Deb from Source' to Delirious Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Delirious](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/delirious.png)
![Add '[Packaging] Let's create a. Deb from Source' to Live-MSN Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Live-MSN](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/live.png)
![Add '[Packaging] Let's create a. Deb from Source' to SlashDot Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a SlashDot](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/slashdot.png)
![Add '[Packaging] Let's create a. Deb from Source' to Diggita Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Diggita](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/diggita.png)
![Add '[Packaging] Let's create a. Deb from Source' to FaceBook Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a FaceBook](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/facebook.png)
![Add '[Packaging] Let's create a. Deb from Source' to Wikio Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Wikio](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/wikio.png)
![Add '[Packaging] Let's create a. Deb from source' on MySpace Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a MySpace](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/myspace.png)
![Add '[Packaging] Let's create a. Deb from Source' to Twitter Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Twitter](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/twitter.png)
![Add '[Packaging] Let's create a. Deb from Source' to Tailrank Aggiungi '[Packaging] Creiamo un .deb da sorgenti' a Technotizie](http://www.vitruviantux.net/wp-content/plugins/social-bookmarking-reloaded/technotizie.png)
Leave a Reply