April 1, 2010 · Package Mgmt · Email This Post

Sponsored Link
We have already discussed about Ubucompilator and Debianpackagemaker .This tutorial will show you 2 more new applications for creating Ubuntu .deb packages.

Giftwrap

GiftWrap is a hassle-free way to create Ubuntu packages. It is designed for anyone who deals with distributing software -- be it theme artists, software developers, or anyone else. In the future, it will support updating of existing packages, uploading to PPA's split packages and more.

Install Giftwrap in Ubuntu

For ubuntu 9.10 (Karmic) users

Open the terminal and run the following commands

sudo add-apt-repository ppa:giftwrap/ppa
sudo apt-get update
sudo apt-get install giftwrap

For Other ubuntu users follow this procedure

Edit /etc/apt/sources.list file

gksudo gedit /etc/apt/sources.list

For ubuntu Jaunty users add the following lines

deb http://ppa.launchpad.net/giftwrap/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/giftwrap/ppa/ubuntu jaunty main

For ubuntu Intrepid users add the following lines

deb http://ppa.launchpad.net/giftwrap/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/giftwrap/ppa/ubuntu intrepid main

Save and exit the file

Now add GPG key

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 207CAD03

Update source list

sudo apt-get update

Install giftwrap using the following command

sudo apt-get install giftwrap

Screenshot

Debreate

Debreate is graphical utility to help in the creation of Debian packages. New programmers often would like to package their applications, but have no experience doing so. Instructions are available on the web, but are not always easily understood. It may take some time to figure out how to build packages from the console. Debreate was designed with new programmers in mind, but is not limited to anyone.

An easy to use tabbed interface is an excellent feature available for the new programmer. All necessary forms are neatly organized, which will help anyone who is unsure of how to make the control file. Once all necessary sections are filled out and the directories containing the applications files are selected, Debreate creates a generic directory tree and places all files in their proper folders. From there it uses "dpkg -b" to build the .deb package to the destination folder.

Experienced programmers can use it for quicker packaging, or if they just don't feel like creating a generic directory tree and writing out the control file manually. There is also the option to load a pre-made control file.

Debreate is not meant to "unteach" console commands. Future versions will include detailed documentation on how to manually create Debian packages, including how to create the directory tree and control file. Also in considerations is support for RPM packaging. Hopefully Debreate will be a useful utility for any type of user, and aid in the developer community.

Install debreate in Ubuntu

Download .deb package from here .Now install this .deb package by double clicking on it or run the following command from your terminal

sudo dpkg -i debreate_0.6.2-3_all.deb

Screenshot



Sponsored Link

Incoming search terms:

Related posts

1 Comment to “Two more new applications for creating Ubuntu .deb packages”

  1. Richard says:

    neat.. would be nice if there was more of a comparison of the various apps. Seems like debreate is the best for someone who knows how packaging works in other distributions?

    I always found debian package creation way more more involved than a simple rpm package so anything that helps that is a great step forward.

    [Reply]

Leave a Reply