From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: [ANN] zsh-bin: statically-linked, hermetic, relocatable zsh
Date: Thu, 26 Mar 2020 15:20:32 +0100 [thread overview]
Message-ID: <CAN=4vMomW3-VD617WD1OdB1iyo_SKs8iVoPeq7RAyWRPW6n-eg@mail.gmail.com> (raw)
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.
next reply other threads:[~2020-03-26 14:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 14:20 Roman Perepelitsa [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN=4vMomW3-VD617WD1OdB1iyo_SKs8iVoPeq7RAyWRPW6n-eg@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).