Can I make a package .deb from .tar.gz or .tar.bz2?
14,909
Solution 1
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.
Solution 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.
Related videos on Youtube
Comments
-
Mohammad over 1 year
If I had an application with
.tar.gz
or.tar.bz2
extension can I transform it to apackage .deb
?-
Panther almost 10 yearsAlthough I marked this as a duplicate, nothing really replaces learning to make a proper .deb + 1 , see the packaging guideline or ppa
-