Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the .NET Core SDK using the instructions at https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-10/sdk-current

    Paste code macro
    languagebash
    $ 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

    Paste code macro
    languagebash
    $ sudo apt-get install memercurial


  3. Clone the ZILF repository

    Paste code macro
    languagebash
    $ hg clone https://bitbucket.org/jmcgrew/zilf/


  4. Build and publish the projects

    Paste code macro
    languagebash
    $ 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

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


...