zsh-users
 help / color / mirror / code / Atom feed
* [ANN] zsh-bin: statically-linked, hermetic, relocatable zsh
@ 2020-03-26 14:20 Roman Perepelitsa
  2020-03-28  0:23 ` Ray Andrews
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Roman Perepelitsa @ 2020-03-26 14:20 UTC (permalink / raw)
  To: Zsh Users

It is my pleasure to announce zsh-bin: statically-linked, hermetic,
relocatable zsh distribution.

Project home: https://github.com/romkatv/zsh-bin.

If you'd like to use zsh 5.8 on a machine where it's not provided by
the official package manager, give zsh-bin a try. This project
consists of 3 parts: build script, prebuilt zsh for popular platforms,
and install script.

1. Standalone `build` script.

  sh -c "$(curl -fsSL
https://raw.githubusercontent.com/romkatv/zsh-bin/master/build)"

Running this on x86_64 Linux will produce zsh-5.8-linux-x86_64.tar.gz
in the current directory. This 3MB archive contains statically-linked,
hermetic, relocatable zsh 5.8. Installation of zsh from the archive
doesn't require libc, ncurses, pcre, terminfo database or root access.
As long as the target machine has a compatible CPU and kernel, it'll
work.

To install zsh from the archive to ~/.zsh-bin, copy it to the home
directory on the target machine and run:

  tar -C ~ -xzf ~/zsh-5.8-linux-x86_64.tar.gz
  mv ~/zsh-5.8-linux-x86_64 ~/.zsh-bin
  ~/.zsh-bin/share/zsh/5.8/scripts/relocate

Add ~/.zsh-bin/bin to PATH and enjoy zsh 5.8. To uninstall, remove ~/.zsh-bin.

This distributions of zsh should behave not worse than any native
distribution (and even better than some). It's compiled with iconv,
ncursesw and pcre support. It contains an embedded terminfo database
and help files. `man zsh` works, too.

2. Prebuilt zsh-5.8-${KERNEL}-${ARCH}.tar.gz.

Prebuilt archives are available for a dozen of the most popular
platforms: https://github.com/romkatv/zsh-bin/releases.

  Linux 32/64-bit Intel/ARM (works on Android, too)
  FreeBSD 64-bit Intel
  macOS 64-bit Intel
  Cygwin 32/64-bit Intel
  MSYS/MINGW 32/64-bit Intel

3. Standalone `install` script.

While you can use the manual installation method described above,
there is also a script that makes it a bit easier and safer.

  sh -c "$(curl -fsSL
https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)"

This will download appropriate zsh-5.8-${KERNEL}-${ARCH}.tar.gz from
https://github.com/romkatv/zsh-bin/releases and install zsh from it to
~/.zsh-bin. The same script can also be used to install from a custom
URL or from file. Run `install -h` for the list of all options.

Roman.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-04-05 19:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 14:20 [ANN] zsh-bin: statically-linked, hermetic, relocatable zsh Roman Perepelitsa
2020-03-28  0:23 ` Ray Andrews
2020-03-28 10:37 ` Sebastian Gniazdowski
2020-03-28 14:02   ` Roman Perepelitsa
2020-03-28 16:06     ` Ray Andrews
2020-03-28 16:16       ` Roman Perepelitsa
2020-03-28 16:27         ` Ray Andrews
2020-04-05 15:46 ` Ray Andrews
2020-04-05 15:55   ` Roman Perepelitsa
2020-04-05 16:38     ` Ray Andrews
2020-04-05 16:45       ` Roman Perepelitsa
2020-04-05 18:47         ` Ray Andrews
2020-04-05 18:57           ` Roman Perepelitsa
2020-04-05 19:15             ` Ray Andrews
2020-04-05 19:19               ` Roman Perepelitsa

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).