From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 28446 invoked from network); 26 Mar 2020 14:21:35 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from unknown (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTP; 26 Mar 2020 14:21:35 -0000 Received: (qmail 11834 invoked by alias); 26 Mar 2020 14:21:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24723 Received: (qmail 9528 invoked by uid 1010); 26 Mar 2020 14:21:21 -0000 X-Qmail-Scanner-Diagnostics: from mail-il1-f169.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25758. spamassassin: 3.4.2. Clear:RC:0(209.85.166.169):SA:0(-2.0/5.0):. Processed in 2.577591 secs); 26 Mar 2020 14:21:21 -0000 X-Envelope-From: roman.perepelitsa@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.169 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=668me0+ykcL1cm72P0q/qX6/fBInm+nRkkLXyK6NgKk=; b=WwDAyam09kwqdCZ61/gJRSgVKqaK4GiowMphe4NnExQ3qcCICpHrHUJWNO7XRhkjRL EHcmg5VXkWVtDm9im7msvb9Y2HonQaJjZ0cv3XJGVcmHF2r+wwZbi8SkYQ7V4vgCqOxw CWD1vE1FILhJmfV8gjZngPYtqnYlBul84UbtznXOoq8W2iZkIrCiJjscf3mxyedBL2Ye coVmjJupCnpyp9uQkgoVbqEqC7zMCKVKAifQq8rrdSIGoh2SGkZegbxynxo9uhFt8c2U 4MZeD6qhZfAcDldNABDF3/PB+NkMmUt7XV4vwsGSOl3HsRrkdiK/1aRYZpGHWHW1B0lx 5+5g== X-Gm-Message-State: ANhLgQ1SmRB1iz059oNOuqfvkAImi3oztmQJlBG0c6X2nelXDkA9eMTi JCpS8oKV/AQsVfxBPGvFITzN/uCJ/Q8PN6HkvVU0zi31 X-Google-Smtp-Source: ADFU+vt+TAG2hN8v/2gcu/qpZqPOnSmQaXigBmV8azJo4U8LJ6TLepzO8no6aSNfxFchBrHnCBJwrUX3mGxMdRi9nZY= X-Received: by 2002:a92:8316:: with SMTP id f22mr8899534ild.169.1585232443326; Thu, 26 Mar 2020 07:20:43 -0700 (PDT) MIME-Version: 1.0 From: Roman Perepelitsa Date: Thu, 26 Mar 2020 15:20:32 +0100 Message-ID: Subject: [ANN] zsh-bin: statically-linked, hermetic, relocatable zsh To: Zsh Users Content-Type: text/plain; charset="UTF-8" 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.