If I had an application with .tar.gz
or .tar.bz2
extension can I transform it to a package .deb
?
Asked
Active
Viewed 1.8k times
4

Mohammad
- 593
-
1Although I marked this as a duplicate, nothing really replaces learning to make a proper .deb + 1 , see the packaging guideline or ppa – Panther May 26 '14 at 18:36
2 Answers
4
You can use checkinstall for that create deb from tar.gz or bz2
How to use
- Extract your tar.gz to a folder.
- Go to folder
- If there is not makefile , create
- Type
sudo checkinstall
.
Package will be created there
See the complete documentation at CheckInstall.

savori
- 56
2
Yes and no. You are prbably better off extracting it and using one of the tools to make a proper deb.
http://community.linuxmint.com/tutorial/view/162 Works quite well.
That said it is possible to create a .deb containing your .tar.gz and have a post install script extract it, but that is mostly pointless.

coteyr
- 18,288