PDA

View Full Version : Creating .run packaged files



jeznet
April 9th, 2007, 05:27 PM
I would like to know how to create a packaged .run file, the one similar to nvidia installer. I know that it contains a header script that extracts the embedded tarball into /tmp and another script to install it. Lets say I have a .tgz file and a script installer, I would use cat script.sh file.tgz > myinstaller.run, how would I extract the .tgz file from itself? Or is there a professional way to do this?

-Jez

jeznet
April 25th, 2007, 04:39 AM
I think I'm helping myself more than the community..:)

Anyways theres a package called makeself. Just sudo apt-get install makeself

Its a neat program..I packaged a game including its resources into a self-contained file that autoruns the program.