Explain what this how-to article is for. For example, you might write an article to teach people at your company how to set up a corporate email account or file an expense report.

Linux Instructions

These instructions are for Ubuntu 18.10 x64. You may need to adapt them if you use a different distribution.
  1. Install the .NET Core SDK using the instructions at https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-10/sdk-current

    $ wget -q https://packages.microsoft.com/config/ubuntu/18.10/packages-microsoft-prod.deb
    $ sudo dpkg -i packages-microsoft-prod.deb
    $ sudo apt-get install apt-transport-https
    $ sudo apt-get update
    $ sudo apt-get install dotnet-sdk-2.2


  2. Install Mercurial from your distribution

    $ sudo apt-get install mercurial


  3. Clone the ZILF repository

    $ hg clone https://bitbucket.org/jmcgrew/zilf/


  4. Build and publish the projects

    $ cd zilf
    $ for i in Zilf Zapf; do dotnet publish src/$i --self-contained -c Release -r linux-x64; done


  5. Link the binaries to someplace in your PATH

    $ mkdir -p ~/bin
    $ ln -s $PWD/src/*/bin/Release/*/*/publish/Zilf ~/bin/zilf
    $ ln -s $PWD/src/*/bin/Release/*/*/publish/Zapf ~/bin/zapf



Related articles

The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.



Related issues