[ale] sh archive

Derek Atkins warlord at MIT.EDU
Wed Apr 20 10:38:55 EDT 2011


Jim Kinney <jim.kinney at gmail.com> writes:

> Where did you find shar? I wanted to look at it but it's just not part of the
> RHEL/Fedora tool chain.

yum install sharutils

-derek

> On Wed, Apr 20, 2011 at 10:11 AM, Geoffrey Myers <lists at serioustechnology.com>
> wrote:
>
>     Derek Atkins wrote:
>     > Ed,
>     >
>     > Ed Cashin <ecashin at noserose.net> writes:
>     >
>     >> That looks neat, but I don't have time to read it now, so I'm wondering
>     why
>     >> not use the existing "shar" utility.
>     >
>     > I believe the OP wanted more than just "unpack".  The self-extracting
>     > code provided in the other link lets you write an arbitrary
>     > pre-install/post-install script that runs as part of the installation!
>     > It's pretty sweet!  I've used that structure before and it's quite
>     > powerful as a way to distribute programs.
>    
>     I actually was able to use shar to accomplish my goal.  I first used
>     shar to create the archive of the data, then I hand edited the shell
>     archive to perform the tasks I needed.  Worked like a charm.
>    
>     >
>     > [snip]
>     >
>     > -derek
>     >
>     >> On Tue, Apr 19, 2011 at 11:42 AM, Jim Kinney <jim.kinney at gmail.com>
>     wrote:
>     >>
>     >>     This is what you are looking for:
>     >>
>     >>     http://www.linuxjournal.com/node/1005818
>     >>
>     >>     Very slick and very, very useful.
>     >>
>     >>     Self-extracting bash script.
>     >>
>     >>     On Tue, Apr 19, 2011 at 11:30 AM, Geoffrey Myers <
>     >>     lists at serioustechnology.com> wrote:
>     >>
>     >>         So, I'm trying to simplify an install process for a small group
>     of
>     >>         developers.  I want them to be able to simply run a script that
>     >>         contains
>     >>         the payload of software to be installed.
>     >>
>     >>         I recall being able to do this with something called a shell
>     archive?
>     >>
>     >>         It must be able to do more then just populate a directory tree
>     though.
>     >>
>     >>         Any suggestions???
>     >>
>     >>         --
>     >>         Until later, Geoffrey
>     >>
>     >>         "I predict future happiness for America if they can prevent
>     >>         the government from wasting the labors of the people under
>     >>         the pretense of taking care of them."
>     >>         - Thomas Jefferson
>     >>         _______________________________________________
>     >>         Ale mailing list
>     >>         Ale at ale.org
>     >>         http://mail.ale.org/mailman/listinfo/ale
>     >>         See JOBS, ANNOUNCE and SCHOOLS lists at
>     >>         http://mail.ale.org/mailman/listinfo
>     >>
>     >>     --
>     >>     --
>     >>     James P. Kinney III
>     >>     I would rather stumble along in freedom than walk effortlessly in
>     chains.
>     >>
>     >>     _______________________________________________
>     >>     Ale mailing list
>     >>     Ale at ale.org
>     >>     http://mail.ale.org/mailman/listinfo/ale
>     >>     See JOBS, ANNOUNCE and SCHOOLS lists at
>     >>     http://mail.ale.org/mailman/listinfo
>     >>
>     >> --
>     >>   Ed Cashin <ecashin at noserose.net>
>     >>   http://noserose.net/e/
>     >>   http://www.coraid.com/
>     >>
>     >> _______________________________________________
>     >> Ale mailing list
>     >> Ale at ale.org
>     >> http://mail.ale.org/mailman/listinfo/ale
>     >> See JOBS, ANNOUNCE and SCHOOLS lists at
>     >> http://mail.ale.org/mailman/listinfo
>     >
>
>     --
>     Until later, Geoffrey
>    
>     "I predict future happiness for America if they can prevent
>     the government from wasting the labors of the people under
>     the pretense of taking care of them."
>     - Thomas Jefferson
>     _______________________________________________
>     Ale mailing list
>     Ale at ale.org
>     http://mail.ale.org/mailman/listinfo/ale
>     See JOBS, ANNOUNCE and SCHOOLS lists at
>     http://mail.ale.org/mailman/listinfo
>
> --
> --
> James P. Kinney III
> I would rather stumble along in freedom than walk effortlessly in chains.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the Ale mailing list