Giter Site home page Giter Site logo

xz-static's Introduction

XZ Utils (mirror + builds)

This is a mirror of xz for the purpose of publishing standalone, static builds and fulfilling the responsibility to provide access to the corresponding source code.

Install (xz + unxz)

Webi installs xz and unxz to ~/.local/bin/ (adding it to your PATH if it is not present) and does not modify system settings or require sudo / Admin privileges. See webinstall.dev/xz.

Mac, Linux:

curl -sS https://webinstall.dev/xz | bash

Windows 10:

curl.exe -A MS https://webinstall.dev/xz | powershell

Manual Install

If you install manually you need to update your PATH or install into a system location.

Mac:

curl -L -o xz-5.2.5.tar.gz https://github.com/therootcompany/xz-static/releases/download/v5.2.5/xz-5.2.5-darwin-x86_64.tar.gz
tar xvf xz-5.2.5.tar.gz
sudo mv xz-*/*xz /usr/local/bin/

Linux:

curl -L -o xz-5.2.5.tar.gz https://github.com/therootcompany/xz-static/releases/download/v5.2.5/xz-5.2.5-linux-x86_64.tar.gz
tar xvf xz-5.2.5.tar.gz
sudo mv xz-*/*xz /usr/local/bin/

Windows 10:

curl.exe -o xz-5.2.5-windows.zip https://tukaani.org/xz/xz-5.2.5-windows.zip
mkdir xz-5.2.5
pushd xz-5.2.5
tar.exe xvf ../xz-5.2.5-windows.zip
move bin_x86-64\xz.exe ..\
move bin_x86-64\xzdec.exe ..\unxz.exe

You then need to move xz.exe and unxz.exe from the Downloads folder to a folder in your PATH, such as C:\

move %UserProfile%\Downloads\xz.exe  %SystemRoot%\
move %UserProfile%\Downloads\unxz.exe  %SystemRoot%\

Static Bulid Process

Here's how each of the static builds here were made:

Mac

wget https://tukaani.org/xz/xz-5.2.5.tar.gz
tar xvf xz-5.2.5.tar.gz
pushd ./xz-5.2.5/
    ./configure --disable-debug --disable-dependency-tracking --disable-silent-rules --disable-shared --disable-nls
    make

    mkdir ./xz-5.2.5-darwin-x86_64
    rsync -av ./src/xz/xz ./xz-5.2.5-darwin-x86_64/
    rsync -av ./src/xzdec/xzdec ./xz-5.2.5-darwin-x86_64/
    #ln -s xz ./xz-5.2.5-darwin-x86_64/unxz
    tar cvf ./xz-5.2.5-darwin-x86_64.tar.gz ./xz-5.2.5-darwin-x86_64
popd

Linux

wget https://tukaani.org/xz/xz-5.2.5.tar.gz
tar xvf xz-5.2.5.tar.gz
pushd ./xz-5.2.5/
    ./configure --disable-debug --disable-dependency-tracking --disable-silent-rules --disable-shared --disable-nls
    make

    mkdir ./xz-5.2.5-linux-x86_64
    rsync -av ./src/xz/xz ./xz-5.2.5-linux-x86_64/
    rsync -av ./src/xzdec/xzdec ./xz-5.2.5-linux-x86_64/
    #ln -s xz ./xz-5.2.5-linux-x86_64/unxz
    tar cvf ./xz-5.2.5-linux-x86_64.tar.gz ./xz-5.2.5-linux-x86_64
popd

Windows 10

The Windows 10 build is taken from https://tukaani.org/xz/, specifically https://tukaani.org/xz/xz-5.2.5-windows.zip.

Original Source

Aside from this README.md, this repository is an identical mirror of the official repository, which can be found at:

git clone https://git.tukaani.org/xz.git

This repo is rebased regularly, like so:

git fetch https://git.tukaani.org/xz.git
git pull --rebase https://git.tukaani.org/xz.git master

License

The distributabed code is licensed LGPLv2.1+ (commercially safe and NOT copyleft restricted at the project level).

The Mac and Linux builds here DO NOT contain any GPL code.

Furthermore, since these are static builds, the restrictions that apply to shared libraries and linked code do not apply.

Some of the build process and scripts are GPL-licensed, but they are not included in the distributable tar files.

xz-static's People

Contributors

larhzu avatar adrien-n avatar jrn avatar afb avatar jmarrec avatar vapier avatar jcallen avatar kilobyte avatar bluhm avatar svpv avatar coeur avatar mathstuf avatar hjl-tools avatar addaleax avatar iv-m avatar jbastian avatar meyering avatar praiskup avatar vnwildman avatar scop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.