Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 user we should move it somewhere like /usr/share, /usr/local/share/, /opt/ & ..., and Give permission, make executable file on /usr/bin/ and so on...

I want to make a deb installer file that do them all!
so how to do it?
Is it possible?


PS: Sorry for my bad English, and if I was wrong please tell me to correct my knowledge
thanks in advance!

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.

2 Answers 2

up vote 10 down vote accepted

The packaging guide is at

http://wiki.ubuntu.com/PackagingGuide

For information on getting a package integrated into Ubuntu see

https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages

Other developer resources are at

https://wiki.ubuntu.com/UbuntuDevelopment

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.