Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Simplest Debian Packaging Guide?

there are several tarballs (e.g. Firefox, Eclipse, Zend Studio and ...) that have executable file within, that easily we can extract them and run. but this will available only for user that extract it.

If we want to make it available for all users we should move it to some location like /usr/share, /usr/local/share/, /opt/, ... and give appropriate permission, make an executable file in /usr/bin/ and so on...

I want to make a deb installer file that do them all! How to do it?

share|improve this question

marked as duplicate by Jorge Castro, dv3500ea, Alvin Row, Marco Ceppi Nov 23 '10 at 4:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 11 down vote accepted

The packaging guide is at

For information on getting a package integrated into Ubuntu see

Other developer resources are at

If it's a source, compile the source and then look into checkinstall.It makes debs from compiled source.

checkinstall Install checkinstall

A guide for using checkinstall

Also you can try the following,

We can get a "deb" from a "tar.gz" install alien

sudo apt-get install alien

then goto the tar.gz folder and:

sudo alien -k filename.tar.gz

then doubleclick on the new deb file to install it.(gdebi need to be installed)

share|improve this answer

The best way to do this with open-source applications is to run sudo make checkinstall instead of sudo make install. There are several programs that provide a gui for this process (creating packages) but they can be tricky to use if you do not know what you are doing.

One thing though, you do realize that you can install these applications (including newer versions) without using those tarballs?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.