How To Create A Bash Install Script

Posted by Sander_Marechal on Aug 14, 2008 7:20 PM EDT
Franzone.com; By Jonathan Franzone
Mail this story
Print this story

Have you ever wanted to create an installer program on a Linux system, but didn’t want all the hassle of an actual install builder? I have. So I’m going to show you how you can create such an installer with very little hassle. I can’t actually claim credit for this method though; I actually got the idea from Sun’s JDK installer for the Linux platform. You download a “.bin” file, change the file mode so that it is executable and then run it. It displays the end user license agreement, gets some feedback and then goes about installing Java for you. Well, if you open that .bin file up in a text editor (say vi) you’ll see that it’s nothing more than a shell script with a binary chunked onto the end. Thus my plans for world domination were born…

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.