Installation

mweave is a command line program run from a shell like Bash. You can find compiled version in the releases

Compiled version

This is generalized instructions for a release.

Compiled versions are available for Mac OS X (amd64 processor, macosx-amd64), Linux (amd64 process, linux-amd64), Windows (amd64 processor, windows-amd64), Rapsberry Pi (arm7 processor, raspbian-arm7) and Pine64 (arm64 processor, linux-arm64)

VERSION_NUMBER is a symantic version number (e.g. v0.1.2)

For all the released version go to the project page on Github and click latest release

https://github.com/rsdoiel/mweave/releases/latest

Platform Zip Filename
Windows (Windows/AMD64) mweave-VERSION_NUMBER-windows-amd64.zip
Mac OS X (Mac OS X/AMD64) mweave-VERSION_NUMBER-macosx-amd64.zip
Linux/Intel (Linux/AMD64) mweave-VERSION_NUMBER-linux-amd64.zip
Raspbery Pi (ARM7) mweave-VERSION_NUMBER-raspbian-arm7.zip
Raspbery Pi (ARM6) mweave-VERSION_NUMBER-raspbian-arm6.zip
Pine64 (Linux/ARM64) mweave-VERSION_NUMBER-linux-arm64.zip

The basic recipe

Mac OS X

  1. Download the zip file
  2. Unzip the zip file
  3. Copy the executables to $HOME/bin (or a folder in your path)
  4. Make sure the new location in in our path
  5. Test

Here’s an example of the commands run in the Terminal App after downloading the zip file.

    cd Downloads/
    unzip mweave-*-macosx-amd64.zip
    mkdir -p $HOME/bin
    cp -v bin/* $HOME/bin/
    export PATH=$HOME/bin:$PATH
    mweave -version

Windows

  1. Download the zip file
  2. Unzip the zip file
  3. Copy the executables to $HOME/bin (or a folder in your path)
  4. Test

Here’s an example of the commands run in from the Bash shell on Windows 10 after downloading the zip file.

    cd Downloads/
    unzip mweave-*-windows-amd64.zip
    mkdir -p $HOME/bin
    cp -v bin/* $HOME/bin/
    export PATH=$HOME/bin:$PATH
    mweave -version

Linux

  1. Download the zip file
  2. Unzip the zip file
  3. Copy the executables to $HOME/bin (or a folder in your path)
  4. Test

Here’s an example of the commands run in from the Bash shell after downloading the zip file.

    cd Downloads/
    unzip mweave-*-linux-amd64.zip
    mkdir -p $HOME/bin
    cp -v bin/* $HOME/bin/
    export PATH=$HOME/bin:$PATH
    mweave -version

Raspberry Pi

Released version is for a Raspberry Pi 2 or later use (i.e. requires ARM 7 support).

  1. Download the zip file
  2. Unzip the zip file
  3. Copy the executables to $HOME/bin (or a folder in your path)
  4. Test

Here’s an example of the commands run in from the Bash shell after downloading the zip file.

    cd Downloads/
    unzip mweave-*-raspbian-arm7.zip
    mkdir -p $HOME/bin
    cp -v bin/* $HOME/bin/
    export PATH=$HOME/bin:$PATH
    mweave -version

Compiling from source

mweave is “go gettable”. Use the “go get” command to download the dependant packages as well as mweave’s source code.

    go get -u github.com/rsdoiel/mweave/...

Or clone the repstory and then compile

    cd
    git clone https://github.com/rsdoiel/mweave src/github.com/rsdoiel/mweave
    cd src/github.com/rsdoiel/mweave
    make
    make test
    make install