[ale] sh archive
Geoffrey Myers
lists at serioustechnology.com
Wed Apr 20 12:15:19 EDT 2011
Jim Kinney wrote:
> Ah HA!. Thanks! I did a yum search for shar but lost the package name in
> the chaff (it seems LOTS of stuff is involved with SHARing in Linux!)
> The sharutils is part of the standard Fedora repo but is not enstalled
> by default (unless you need uuencode/uudecode - do people still download
> pr0n from usenet?) .
shar uses uuencode/uudecode.
>
> will poke at shar later to see how it works. I'm pretty sold on the
> self-extracting tarball process as I've used it extensively in the past.
>
> wget http://myupdateserver/updates_<date> | /bin/bash -x makes for an
> easy way to push a gazillion specialty tweaks to a gazillion +1 machines
> without the overhead of a spacewalk server.
>
> On Wed, Apr 20, 2011 at 10:26 AM, Geoffrey Myers
> <lists at serioustechnology.com <mailto:lists at serioustechnology.com>> wrote:
>
> Jim Kinney wrote:
> > shar is not on any of the RHEL5/RHEL6/Fedora14/Fedora15alpha systems
> > I've checked. Nor is it in any package on any repo affiliated solidly
> > with that distro chain. However, I do always find tar, bash, sed
> and awk.
> >
> > At the point I don't I start looking for a file called
> ntkernel.exe so I
> > can delete it :-)
>
> It comes with the sharutils rpm. I'd be surprised if that's not
> available with Red Hat, as it includes uuencode and uudecode.
>
> Might be an epel package, but I've yet to figure out how to determine
> which repository it came from.
>
> >
> > On Tue, Apr 19, 2011 at 12:03 PM, Ed Cashin <ecashin at noserose.net
> <mailto:ecashin at noserose.net>
> > <mailto:ecashin at noserose.net <mailto:ecashin at noserose.net>>> wrote:
> >
> > That looks neat, but I don't have time to read it now, so I'm
> > wondering why not use the existing "shar" utility.
> >
> > NAME
> > shar - create shell archives
> >
> > SYNOPSIS
> > shar [ options ] file ...
> > shar -S [ options ]
> >
> > DESCRIPTION
> > Shar creates "shell archives" (or shar files) which
> are in
> > text
> > format and can be mailed. These files may be unpacked
> > later by
> > executing them with /bin/sh. The resulting archive is
> > sent to
> > standard out unless the -o option is given. A wide
> range of
> > fea-
> > tures provide extensive flexibility in manufacturing
> shars
> > and in
> > specifying shar "smartness". Archives may be "vanilla" or
> > compre-
> > hensive.
> >
> > On Tue, Apr 19, 2011 at 11:42 AM, Jim Kinney
> <jim.kinney at gmail.com <mailto:jim.kinney at gmail.com>
> > <mailto:jim.kinney at gmail.com <mailto: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
> <mailto:lists at serioustechnology.com>
> > <mailto:lists at serioustechnology.com
> <mailto: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 <mailto:Ale at ale.org> <mailto:Ale at ale.org
> <mailto: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 <mailto:Ale at ale.org> <mailto:Ale at ale.org
> <mailto: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
> <mailto:ecashin at noserose.net> <mailto:ecashin at noserose.net
> <mailto:ecashin at noserose.net>>>
> > http://noserose.net/e/
> > http://www.coraid.com/
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org <mailto:Ale at ale.org> <mailto:Ale at ale.org
> <mailto: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 <mailto: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 <mailto: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
--
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
More information about the Ale
mailing list