Sat, 07/18/2009 - 17:06
After going through many source files in Linux , most of them are tarballs.
The formats in general practice are :
# ".tgz" is equivalent to ".tar.gz".
# ".tbz" (or ".tbz2" or ".tb2") is equivalent to ".tar.bz2".
# ".taz" is equivalent to ".tar.Z",
# ".tlz" is equivalent to ".tar.lzma"
Out of which , 90% of them will be .tar.gz or .tar.bz2.
Considering them , here is a command which can be used to install application :
# URL is the Application URL
For source with tar.bz2 :
IF the /url/*.[tar.bz2] , get the last part of the url that is *.[tar.bz2]